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 | __pad22__ |
$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 | |
else | __pad23__ |
endif | |
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 = '' |
$listDirn = $this->escape($this->state->get('list.direction')) |
if ( $parts) $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 __pad22__ |
else __pad23__ |
endforeach |
endif |
if($saveOrder) |