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/templates/hathor/html/com_content/featured/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $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_content')
 
 $saveOrder = $listOrder == 'fp.ordering'
 
 $n = count($this->items)
 
if(!empty( $this->sidebar)) else
 
 endif
 
foreach($this->items as $i=> $item$ordering = ($listOrder == 'fp.ordering')
 
 $assetId = 'com_content.article.' . $item->id
 
 $canCreate = $user->authorise('core.create', 'com_content.category.' . $item->catid)
 
 $canEdit = $user->authorise('core.edit', 'com_content.article.' . $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_content.article.' . $item->id) && $canCheckin
 
else __pad15__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
else __pad16__
 
else __pad17__
 
 endforeach
 

Documentation des variables

◆ $assetId

$assetId = 'com_content.article.' . $item->id

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_content.article.' . $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_content.category.' . $item->catid)

◆ $canEdit

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

◆ $canOrder

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

◆ $disabled

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

◆ $listDirn

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

◆ $listOrder

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

◆ $n

$n = count($this->items)

◆ $ordering

foreach ( $this->items as $i=> $item) $ordering = ($listOrder == 'fp.ordering')

◆ $saveOrder

$saveOrder = $listOrder == 'fp.ordering'

◆ $user

$user = JFactory::getUser()

◆ __pad15__

else __pad15__

◆ __pad16__

else __pad16__

◆ __pad17__

else __pad17__

◆ else

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

◆ endforeach

endforeach

◆ endif

endif