Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier layouts/joomla/form/field/list.php

Espaces de nommage

 Joomla\Site
 

Variables

 $html = array()
 
 $attr = ''
 
if($readonly|| $disabled) if($readonly) else
 
 $listoptions ['option.key'] = 'value'
 
 $listoptions ['option.text'] = 'text'
 
 $listoptions ['list.select'] = $value
 
 $listoptions ['id'] = $id
 
 $listoptions ['list.translate'] = false
 
 $listoptions ['option.attr'] = 'optionattr'
 
 $listoptions ['list.attr'] = trim($attr)
 
 $html [] = HTMLHelper::_('select.genericlist', $options, $name, $listoptions)
 

Documentation des variables

◆ $attr

$attr = ''

◆ $html [1/2]

$html = array()

◆ $html [2/2]

$html[] = HTMLHelper::_('select.genericlist', $options, $name, $listoptions)

◆ $listoptions [1/7]

$listoptions[ 'option.key'] = 'value'

◆ $listoptions [2/7]

$listoptions[ 'option.text'] = 'text'

◆ $listoptions [3/7]

$listoptions[ 'list.select'] = $value

◆ $listoptions [4/7]

$listoptions[ 'id'] = $id

◆ $listoptions [5/7]

$listoptions[ 'list.translate'] = false

◆ $listoptions [6/7]

$listoptions[ 'option.attr'] = 'optionattr'

◆ $listoptions [7/7]

$listoptions[ 'list.attr'] = trim($attr)

◆ else

if ( $readonly||$disabled) if ( $readonly) else
Valeur initiale :
{
$listoptions = array()
$listoptions['option.key']
Definition: layouts/joomla/form/field/list.php:85