Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier administrator/templates/hathor/html/com_contact/contacts/default.php

Espaces de nommage

namespace  Joomla\Administrator

Variables

 $user = JFactory::getUser()
 $userId = $user->get('id')
 $listOrder = $this->escape($this->state->get('list.ordering'))
 $listDirn = $this->escape($this->state->get('list.direction'))
 $canOrder = $user->authorise('core.edit.state', 'com_contact.category')
 $saveOrder = $listOrder == 'a.ordering'
 endif
 $n = count($this->items)
foreach($this->items as $i=> $item$canCreate = $user->authorise('core.create', 'com_contact.category.'.$item->catid)
 $canEdit = $user->authorise('core.edit', 'com_contact.category.'.$item->catid)
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 $canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.'.$item->catid) && $item->created_by == $userId
 $canChange = $user->authorise('core.edit.state', 'com_contact.category.'.$item->catid) && $canCheckin
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid)
else __pad12__
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
else __pad13__
 endforeach

Documentation des variables

$canChange = $user->authorise('core.edit.state', 'com_contact.category.'.$item->catid) && $canCheckin
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
foreach ($this->items as $i=> $item) $canCreate = $user->authorise('core.create', 'com_contact.category.'.$item->catid)
$canEdit = $user->authorise('core.edit', 'com_contact.category.'.$item->catid)
$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.'.$item->catid) && $item->created_by == $userId
$canOrder = $user->authorise('core.edit.state', 'com_contact.category')
$disabled = $saveOrder ? '' : 'disabled="disabled"'
$listDirn = $this->escape($this->state->get('list.direction'))
$listOrder = $this->escape($this->state->get('list.ordering'))
$n = count($this->items)
$saveOrder = $listOrder == 'a.ordering'
$user = JFactory::getUser()
$userId = $user->get('id')
else __pad12__
else __pad13__
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid)
endforeach
endif