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 components/com_content/views/category/tmpl/default_children.php

Espaces de nommage

 Joomla\Site
 

Variables

 $class = ' class="first"'
 
 $lang = JFactory::getLanguage()
 
 $user = JFactory::getUser()
 
 $groups = $user->getAuthorisedViewLevels()
 
if(count( $this->children[ $this->category->id]) > 0)( $this->children[ $this->category->id] as $id=> $child)(in_array( $child->access, $groups))( $this->params->get( 'show_empty_categories')||$child->getNumItems(true)||count( $child->getChildren()))(!isset($this->children[$this->category->id][$id+1])) endif
 
if(count($child->getChildren()) > 0 && $this->maxLevel > 1) else
 
if(count($child->getChildren()) > 0 && $this->maxLevel > 1) $this children [$child->id] = $child->getChildren()
 
$this category = $child
 
$this maxLevel
 
 endforeach
 

Documentation des variables

◆ $class

$class = ' class="first"'

◆ $groups

$groups = $user->getAuthorisedViewLevels()

◆ $lang

$lang = JFactory::getLanguage()

◆ $user

$user = JFactory::getUser()

◆ category

$this category = $child

◆ children

if (count( $child->getChildren()) > 0 &&$this->maxLevel > 1) $this children[ $child->id] = $child->getChildren()

◆ else

if (count( $child->getChildren()) > 0 &&$this->maxLevel > 1) else

◆ endforeach

endforeach

◆ endif

endif

◆ maxLevel

$this maxLevel