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_banners/banners/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $user = JFactory::getUser()
 
 $userId = $user->get('id')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $canOrder = $user->authorise('core.edit.state', 'com_banners')
 
 $saveOrder = $listOrder == 'ordering'
 
if(!empty( $this->sidebar)) else
 
 endif
 
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]=' . $item->catid)
 
 $canCreate = $user->authorise('core.create', 'com_banners.category.' . $item->catid)
 
 $canEdit = $user->authorise('core.edit', 'com_banners.category.' . $item->catid)
 
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 
 $canChange = $user->authorise('core.edit.state', 'com_banners.category.' . $item->catid) && $canCheckin
 
else __pad0__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
else __pad1__
 
else __pad2__
 
 endforeach
 

Documentation des variables

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_banners.category.' . $item->catid) && $canCheckin

◆ $canCheckin

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

◆ $canCreate

$canCreate = $user->authorise('core.create', 'com_banners.category.' . $item->catid)

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_banners.category.' . $item->catid)

◆ $canOrder

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

◆ $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()

◆ $userId

$userId = $user->get('id')

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ __pad2__

else __pad2__

◆ cat_link

$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]=' . $item->catid)

◆ else

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

◆ endforeach

endforeach

◆ endif

endif