Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier com_content/tmpl/category/default_children.php

Espaces de nommage

 Joomla\Site
 

Variables

 $lang = Factory::getLanguage()
 
 $user = Factory::getUser()
 
 $groups = $user->getAuthorisedViewLevels()
 
 endif
 
if(count($child->getChildren()) > 0 && $this->maxLevel > 1) else
 
if(count($child->getChildren()) > 0 && $this->maxLevel > 1) $child language
 
if(count($child->getChildren()) > 0 && $this->maxLevel > 1) $this children [$child->id] = $child->getChildren()
 
$this category = $child
 
$this maxLevel
 
 endforeach
 

Documentation des variables

◆ $groups

$groups = $user->getAuthorisedViewLevels()

◆ $lang

$lang = Factory::getLanguage()

◆ $user

$user = Factory::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

◆ language

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

◆ maxLevel

$this maxLevel