Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_workflow/tmpl/transitions/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $user = Factory::getUser()
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrderingUrl = ''
 
 $saveOrder = ($listOrder == 't.ordering')
 
 if ( $saveOrder)
 
if(!empty($this->sidebar)) endif
 
if(!empty($this->sidebar)) else
 
else __pad2__
 
 $canEdit = $user->authorise('core.edit', $this->extension . '.transition.' . $item->id)
 
 $canCheckin = $user->authorise('core.admin', 'com_workflow') || $item->checked_out == $user->id || is_null($item->checked_out)
 
 $canChange = $user->authorise('core.edit.state', $this->extension . '.transition.' . $item->id) && $canCheckin
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad3__
 
else __pad4__
 
 endforeach
 

Documentation des variables

◆ $canChange

$canChange = $user->authorise('core.edit.state', $this->extension . '.transition.' . $item->id) && $canCheckin

◆ $canCheckin

$canCheckin = $user->authorise('core.admin', 'com_workflow') || $item->checked_out == $user->id || is_null($item->checked_out)

◆ $canEdit

$canEdit = $user->authorise('core.edit', $this->extension . '.transition.' . $item->id)

◆ $iconClass

$iconClass = ''

◆ $listDirn

$listDirn = $this->escape($this->state->get('list.direction'))

◆ $listOrder

$listOrder = $this->escape($this->state->get('list.ordering'))

◆ $saveOrder

$saveOrder = ($listOrder == 't.ordering')

◆ $saveOrderingUrl

$saveOrderingUrl = ''

◆ $user

$user = Factory::getUser()

◆ $wa

$wa = $this->document->getWebAssetManager()

◆ __pad2__

else __pad2__

◆ __pad3__

else __pad3__

◆ __pad4__

else __pad4__

◆ else

if (!empty( $this->sidebar)) else
Valeur initiale :
{
echo 'col-md-12'

◆ elseif

if (! $canChange) elseif(! $saveOrder)

◆ endforeach

endforeach

◆ endif

endif

◆ if

if($canEdit) (   $saveOrder)