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') | |
$component = '' | |
$parts = FieldsHelper::extract($this->state->get('filter.context')) | |
if($parts) | $listOrder = $this->escape($this->state->get('list.ordering')) |
$listDirn = $this->escape($this->state->get('list.direction')) | |
$ordering = ($listOrder == 'a.ordering') | |
$saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc') | |
if ( $saveOrder) | |
else | __pad0__ |
else | null |
$canEdit = $user->authorise('core.edit', $component . '.fieldgroup.' . $item->id) | |
$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 | |
$canEditOwn = $user->authorise('core.edit.own', $component . '.fieldgroup.' . $item->id) && $item->created_by == $userId | |
$canChange = $user->authorise('core.edit.state', $component . '.fieldgroup.' . $item->id) && $canCheckin | |
if($canChange && $saveOrder) | endif |
else | __pad1__ |
endforeach | |
$app = JFactory::getApplication() |
$canChange = $user->authorise('core.edit.state', $component . '.fieldgroup.' . $item->id) && $canCheckin |
$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 |
$canEditOwn = $user->authorise('core.edit.own', $component . '.fieldgroup.' . $item->id) && $item->created_by == $userId |
$component = '' |
else $listDirn = $this->escape($this->state->get('list.direction')) |
else $listOrder = $this->escape($this->state->get('list.ordering')) |
$ordering = ($listOrder == 'a.ordering') |
$parts = FieldsHelper::extract($this->state->get('filter.context')) |
$saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc') |
$user = JFactory::getUser() |
$userId = $user->get('id') |
else __pad0__ |
else __pad1__ |
endforeach |
endif |
if($saveOrder) |
else null |