Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_tags/tmpl/tags/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $app = Factory::getApplication()
 
 $user = Factory::getUser()
 
 $userId = $user->get('id')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc')
 
 $extension = $this->escape($this->state->get('filter.extension'))
 
 $parts = explode('.', $extension)
 
 $component = $parts[0]
 
 $section = null
 
 $mode = false
 
if(count($parts) > 1) if($section==='categories') if ( $saveOrder &&!empty( $this->items))
 
else __pad0__
 
 endif
 
 $canCreate = $user->authorise('core.create', 'com_tags')
 
 $canEdit = $user->authorise('core.edit', 'com_tags')
 
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out)
 
 $canChange = $user->authorise('core.edit.state', 'com_tags') && $canCheckin
 
if($item->level > 1) else
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad1__
 
else __pad2__
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_published'))
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_unpublished'))
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_archived'))
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_trashed'))
 
 endforeach
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_tags') && $canCheckin

◆ $canCheckin

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

◆ $canCreate

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

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_tags')

◆ $component

$component = $parts[0]

◆ $extension

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

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $mode

$mode = false

◆ $parts

$parts = explode('.', $extension)

◆ $saveOrder

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

◆ $section

$section = null

◆ $user

$user = Factory::getUser()

◆ $userId

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

◆ $wa

$wa = $this->document->getWebAssetManager()

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ __pad2__

else __pad2__

◆ else

if ( $item->level > 1) else
Valeur initiale :
{
$parentsStr = ''

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if [1/5]

if($saveOrder) ( $saveOrder &&!  empty$this->items)

◆ if [2/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_published'))

◆ if [3/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_unpublished'))

◆ if [4/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_archived'))

◆ if [5/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_trashed'))