Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence du fichier administrator/templates/hathor/html/com_modules/modules/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $client = $this->state->get('client_id') ? 'administrator' : 'site'
 
 $user = JFactory::getUser()
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $canOrder = $user->authorise('core.edit.state', 'com_modules')
 
 $saveOrder = $listOrder == 'ordering'
 
if(!empty( $this->sidebar)) else
 
 endif
 
 $canCreate = $user->authorise('core.create', 'com_modules')
 
 $canEdit = $user->authorise('core.edit', 'com_modules')
 
 $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') && $canCheckin
 
else __pad45__
 
else __pad46__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
else __pad47__
 
else $item language_image
 
else $item $item language_title
 
 endforeach
 

Documentation des variables

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_modules') && $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')

◆ $canOrder

$canOrder = $user->authorise('core.edit.state', 'com_modules')

◆ $client

$client = $this->state->get('client_id') ? 'administrator' : 'site'

◆ $disabled

$disabled = $saveOrder ? '' : 'disabled="disabled"'

◆ $listDirn

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

◆ $listOrder

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

◆ $saveOrder

$saveOrder = $listOrder == 'ordering'

◆ $user

$user = JFactory::getUser()

◆ __pad45__

else __pad45__

◆ __pad46__

else __pad46__

◆ __pad47__

else __pad47__

◆ else

if (!empty($this->sidebar)) else

◆ endforeach

endforeach

◆ endif

endif

◆ language_image

else $item language_image

◆ language_title

else $item $item language_title