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

Espaces de nommage

 Joomla\Site
 

Variables

 $attributes = []
 
if($item->anchor_title) $attributes ['class'] = 'mod-menu__separator separator'
 
 $attributes ['class'] = $item->anchor_css ? ' ' . $item->anchor_css : null
 
 $linktype = $item->title
 
if($item->menu_icon) elseif($item->menu_image) if($showAll && $item->deeper) else
 

Documentation des variables

◆ $attributes [1/3]

$attributes = []

◆ $attributes [2/3]

if ( $item->anchor_title) $attributes[ 'class'] = 'mod-menu__separator separator'

◆ $attributes [3/3]

$attributes[ 'class'] = $item->anchor_css ? ' ' . $item->anchor_css : null

◆ $linktype

$linktype = $item->title

◆ else

if ( $item->menu_icon) elseif ( $item->menu_image) if ( $showAll &&$item->deeper) else
Valeur initiale :
{
echo '<span ' . ArrayHelper::toString($attributes) . '>' . $linktype . '</span>'