Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier default_submenu.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $class = 'item'
 
 $currentParams = $current->getParams()
 
if(! $this->enabled) elseif($current->type=='separator') elseif($current->hasChildren()) if($current->level==1) elseif($current->level==2) elseif($current->level==3) if($current->type=='separator') else
 
 $linkClass = []
 
 $dataToggle = ''
 
 $iconClass = ''
 
 $itemIconClass = ''
 
 $itemImage = ''
 
 $link = $current->link
 
 $icon = $this->getIconClass($current)
 
 $ajax = !empty($current->ajaxbadge) ? '<span class="menu-badge"><span class="icon-spin icon-spinner mt-1 system-counter" data-url="' . $current->ajaxbadge . '"></span></span>' : ''
 
 $iconImage = $current->icon
 
 $homeImage = ''
 
if($currentParams->get('menu-quicktask') &&(int) $this->params->get('shownew', 1)===1) if(!empty($current->dashboard)) if ( $this->enabled &&$current->hasChildren())
 

Documentation des variables

◆ $ajax

$ajax = !empty($current->ajaxbadge) ? '<span class="menu-badge"><span class="icon-spin icon-spinner mt-1 system-counter" data-url="' . $current->ajaxbadge . '"></span></span>' : ''

◆ $class

$class = 'item'

◆ $currentParams

$currentParams = $current->getParams()

◆ $dataToggle

$dataToggle = ''

◆ $homeImage

$homeImage = ''

◆ $icon

◆ $iconClass

$iconClass = ''

◆ $iconImage

$iconImage = $current->icon

Référencé par Menu\preprocess().

◆ $itemIconClass

$itemIconClass = ''

◆ $itemImage

if ( $iconClass==='' &&$itemIconClass) if ( $iconImage) $itemImage = ''

◆ $link

$link = $current->link

◆ $linkClass

$linkClass = []

◆ else

if ( $icon=='' &&$iconClass=='' &&$current->level==1 &&$current->target=='') if ( $link !='' &&$current->target !='') elseif ( $link !='' &&$current->type !=='separator') elseif ( $current->title !='' &&$current->type !=='separator') elseif ( $current->title !='' &&$current->type==='separator') else
Valeur initiale :
{
echo '<li class="' . $class . '">'
$class
Definition: default_submenu.php:24

◆ if

if ( $currentParams->get( 'menu-quicktask') &&(int) $this->params->get( 'shownew', 1)===1) if (!empty( $current->dashboard)) if($this->enabled && $current->hasChildren())