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/categories/tmpl/default_items.php

Espaces de nommage

 Joomla\Site
 

Variables

 $class = ' class="first"'
 
if( $this->maxLevelcat !=0 &&count( $this->items[ $this->parent->id]) > 0)( $this->items[ $this->parent->id] as $id=> $item($this->params->get('show_empty_categories_cat')|| $item->numitems||count($item->getChildren())) (!isset( $this->items[ $this->parent->id][ $id+1]))
 
 endif
 
 if (count( $item->getChildren()) > 0 &&$this->maxLevelcat > 1)
 
if(count($item->getChildren()) > 0 && $this->maxLevelcat > 1) $this items [$item->id] = $item->getChildren()
 
$this parent = $item
 
$this maxLevelcat
 
 endforeach
 

Documentation des variables

◆ $class

$class = ' class="first"'

◆ ($this->params->get('show_empty_categories_cat')|| $item->numitems||count($item->getChildren()))

if($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) ($this->items[$this->parent->id] as $id => $item) ( $this->params->get( 'show_empty_categories_cat')||$item->numitems||count( $item->getChildren()))(!isset($this->items[$this->parent->id][$id+1]))

◆ endforeach

endforeach

◆ endif

endif

◆ if

if(count($item->getChildren()) > 0 && $this->maxLevelcat > 1)

◆ items

if (count( $item->getChildren()) > 0 &&$this->maxLevelcat > 1) $this items[ $item->id] = $item->getChildren()

◆ maxLevelcat

$this maxLevelcat

◆ parent

$this parent = $item