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é
|
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')) | |
$saveOrder = $listOrder == 'a.ordering' | |
$n = count($this->items) | |
endif | |
foreach($this->items as $i=> $item) | $ordering = ($listOrder == 'a.ordering') |
$canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid) | |
$canEdit = $user->authorise('core.edit', 'com_content.article.'.$item->id) | |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 | |
$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.'.$item->id) && $item->created_by == $userId | |
$canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin | |
else | __pad15__ |
$disabled = $saveOrder ? '' : 'disabled="disabled"' | |
else | __pad16__ |
else | __pad17__ |
endforeach |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 |
$canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid) |
$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.'.$item->id) && $item->created_by == $userId |
$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 __pad15__ |
else __pad16__ |
else __pad17__ |
endforeach |
endif |