Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Administrator | |
Variables | |
$wa = $this->document->getWebAssetManager() | |
$clientId = (int) $this->state->get('client_id', 0) | |
$user = Factory::getUser() | |
$listOrder = $this->escape($this->state->get('list.ordering')) | |
$listDirn = $this->escape($this->state->get('list.direction')) | |
$saveOrder = ($listOrder == 'a.ordering') | |
if ( $saveOrder &&!empty( $this->items)) | |
endif | |
$canCreate = $user->authorise('core.create', 'com_modules') | |
$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $item->id) | |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out) | |
$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $item->id) && $canCheckin | |
$iconClass = '' | |
if(! $canChange) | elseif (! $saveOrder) |
else | __pad3__ |
else | __pad4__ |
if($item->position) | else |
else | __pad5__ |
endforeach | |
$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $item->id) && $canCheckin |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out) |
$canCreate = $user->authorise('core.create', 'com_modules') |
$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $item->id) |
$clientId = (int) $this->state->get('client_id', 0) |
$iconClass = '' |
$listDirn = $this->escape($this->state->get('list.direction')) |
$listOrder = $this->escape($this->state->get('list.ordering')) |
$saveOrder = ($listOrder == 'a.ordering') |
$user = Factory::getUser() |
$wa = $this->document->getWebAssetManager() |
else __pad3__ |
else __pad4__ |
else __pad5__ |
if ( $item->position) else |
if (! $canChange) elseif(! $saveOrder) |
endforeach |
endif |
if($saveOrder) | ( | $saveOrder &&! | empty$this->items | ) |