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_categories/categories/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $app = JFactory::getApplication()
 
 $user = JFactory::getUser()
 
 $userId = $user->get('id')
 
 $extension = $this->escape($this->state->get('filter.extension'))
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $ordering = ($listOrder == 'a.lft')
 
 $canOrder = $user->authorise('core.edit.state', $extension)
 
 $saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc')
 
 $jinput = JFactory::getApplication()->input
 
 $component = $jinput->get('extension')
 
if(!empty($this->sidebar)) endif
 
 $canEdit = $user->authorise('core.edit', $extension . '.category.' . $item->id)
 
 $canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 
 $canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId
 
 $canChange = $user->authorise('core.edit.state', $extension . '.category.' . $item->id) && $canCheckin
 
else __pad5__
 
else __pad6__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
 endforeach
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $canChange

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

◆ $canCheckin

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

◆ $canEdit

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

◆ $canEditOwn

$canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId

◆ $canOrder

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

◆ $component

$component = $jinput->get('extension')

◆ $disabled

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

◆ $extension

$extension = $this->escape($this->state->get('filter.extension'))

◆ $jinput

◆ $listDirn

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

◆ $listOrder

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

◆ $ordering

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

◆ $saveOrder

$saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc')

◆ $user

$user = JFactory::getUser()

◆ $userId

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

◆ __pad5__

else __pad5__

◆ __pad6__

else __pad6__

◆ endforeach

endforeach

◆ endif

endif