Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Espaces de nommage | |
Joomla\Administrator | |
Variables | |
$app = JFactory::getApplication() | |
$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' | |
$assoc = JLanguageAssociations::isEnabled() | |
$n = count($this->items) | |
if(!empty( $this->sidebar)) | else |
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 | __pad11__ |
$disabled = $saveOrder ? '' : 'disabled="disabled"' | |
else | __pad12__ |
else | __pad13__ |
endforeach | |
$app = JFactory::getApplication() |
$assoc = JLanguageAssociations::isEnabled() |
$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 __pad11__ |
else __pad12__ |
else __pad13__ |
if (!empty($this->sidebar)) else |
endforeach |
endif |