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é
Référence du fichier administrator/components/com_modules/views/modules/tmpl/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $clientId = (int) $this->state->get('client_id', 0)
 
 $user = JFactory::getUser()
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrder = ($listOrder == 'a.ordering')
 
if($saveOrder) $colSpan = $clientId === 1 ? 8 : 10
 
if(!empty( $this->sidebar)) else
 
 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')|| $item->checked_out == 0
 
 $canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $item->id) && $canCheckin
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad0__
 
else __pad1__
 
 endforeach
 

Documentation des variables

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $item->id) && $canCheckin

◆ $canCheckin

$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id')|| $item->checked_out == 0

◆ $canCreate

$canCreate = $user->authorise('core.create', 'com_modules')

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $item->id)

◆ $clientId

$clientId = (int) $this->state->get('client_id', 0)

◆ $colSpan

if ( $saveOrder) $colSpan = $clientId === 1 ? 8 : 10

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $saveOrder

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

◆ $user

$user = JFactory::getUser()

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ else

if ( $item->position) else

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif