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() | |
$listOrder = $this->escape($this->state->get('list.ordering')) | |
$listDirn = $this->escape($this->state->get('list.direction')) | |
$canOrder = $user->authorise('core.edit.state', 'com_content.article') | |
$saveOrder = $listOrder == 'fp.ordering' | |
$n = count($this->items) | |
endif | |
foreach($this->items as $i=> $item) | $ordering = ($listOrder == 'fp.ordering') |
$assetId = 'com_content.article.'.$item->id | |
$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==$user->get('id')|| $item->checked_out==0 | |
$canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin | |
else | __pad19__ |
$disabled = $saveOrder ? '' : 'disabled="disabled"' | |
else | __pad20__ |
else | __pad21__ |
endforeach |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out==$user->get('id')|| $item->checked_out==0 |
$canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid) |
$canOrder = $user->authorise('core.edit.state', 'com_content.article') |
$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 == 'fp.ordering' |
$user = JFactory::getUser() |
else __pad19__ |
else __pad20__ |
else __pad21__ |
endforeach |
endif |