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_banners/banners/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_banners.category')
 $saveOrder = $listOrder=='ordering'
 endif
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]='. $item->catid)
 $canCreate = $user->authorise('core.create', 'com_banners.category.'.$item->catid)
 $canEdit = $user->authorise('core.edit', 'com_banners.category.'.$item->catid)
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 $canChange = $user->authorise('core.edit.state', 'com_banners.category.'.$item->catid) && $canCheckin
else __pad2__
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
else __pad3__
else __pad4__
else __pad5__
 endforeach

Documentation des variables

$canChange = $user->authorise('core.edit.state', 'com_banners.category.'.$item->catid) && $canCheckin
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
$canCreate = $user->authorise('core.create', 'com_banners.category.'.$item->catid)
$canEdit = $user->authorise('core.edit', 'com_banners.category.'.$item->catid)
$canOrder = $user->authorise('core.edit.state', 'com_banners.category')
$disabled = $saveOrder ? '' : 'disabled="disabled"'
$listDirn = $this->escape($this->state->get('list.direction'))
$listOrder = $this->escape($this->state->get('list.ordering'))
$saveOrder = $listOrder=='ordering'
$user = JFactory::getUser()
$userId = $user->get('id')
else __pad2__
else __pad3__
else __pad4__
else __pad5__
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]='. $item->catid)
endforeach
endif