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() | |
$listOrder = $this->escape($this->state->get('list.ordering')) | |
$listDirn = $this->escape($this->state->get('list.direction')) | |
$saveOrder = $listOrder == 'w.ordering' | |
$orderingColumn = 'created' | |
$saveOrderingUrl = '' | |
if(strpos($listOrder, 'modified') !==false) if($saveOrder) | $extension = $this->escape($this->state->get('filter.extension')) |
$user = Factory::getUser() | |
$userId = $user->id | |
if(!empty($this->sidebar)) | endif |
if(!empty($this->sidebar)) | else |
else | __pad5__ |
if ( $saveOrder) | |
$transitions = Route::_('index.php?option=com_workflow&view=transitions&workflow_id=' . $item->id . '&extension=' . $extension) | |
$edit = Route::_('index.php?option=com_workflow&task=workflow.edit&id=' . $item->id . '&extension=' . $extension) | |
$canEdit = $user->authorise('core.edit', $extension . '.workflow.' . $item->id) | |
$canCheckin = $user->authorise('core.admin', 'com_workflow') || $item->checked_out == $userId || is_null($item->checked_out) | |
$canEditOwn = $user->authorise('core.edit.own', $extension . '.workflow.' . $item->id) && $item->created_by == $userId | |
$canChange = $user->authorise('core.edit.state', $extension . '.workflow.' . $item->id) && $canCheckin | |
$iconClass = '' | |
if(! $canChange) | elseif (! $saveOrder) |
else | __pad6__ |
endforeach | |
$canChange = $user->authorise('core.edit.state', $extension . '.workflow.' . $item->id) && $canCheckin |
$canCheckin = $user->authorise('core.admin', 'com_workflow') || $item->checked_out == $userId || is_null($item->checked_out) |
$canEditOwn = $user->authorise('core.edit.own', $extension . '.workflow.' . $item->id) && $item->created_by == $userId |
$edit = Route::_('index.php?option=com_workflow&task=workflow.edit&id=' . $item->id . '&extension=' . $extension) |
if (strpos( $listOrder, 'modified') !==false) if ( $saveOrder) $extension = $this->escape($this->state->get('filter.extension')) |
$iconClass = '' |
$listDirn = $this->escape($this->state->get('list.direction')) |
$listOrder = $this->escape($this->state->get('list.ordering')) |
$orderingColumn = 'created' |
$saveOrder = $listOrder == 'w.ordering' |
$saveOrderingUrl = '' |
$transitions = Route::_('index.php?option=com_workflow&view=transitions&workflow_id=' . $item->id . '&extension=' . $extension) |
$user = Factory::getUser() |
$userId = $user->id |
$wa = $this->document->getWebAssetManager() |
else __pad5__ |
else __pad6__ |
if (!empty( $this->sidebar)) else |
if (! $canChange) elseif(! $saveOrder) |
endforeach |
endif |
if($canEdit|| $canEditOwn) | ( | $saveOrder | ) |