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/text.php

Espaces de nommage

 Joomla\Site
 

Variables

 $list = ''
 
if($options) $attributes
 
 $addonBeforeHtml = '<span class="input-group-text">' . Text::_($addonBefore) . '</span>'
 
 $addonAfterHtml = '<span class="input-group-text">' . Text::_($addonAfter) . '</span>'
 
if(!empty($addonBefore)||!empty($addonAfter)) if(!empty($addonBefore)) endif
 
 endforeach
 

Documentation des variables

◆ $addonAfterHtml

$addonAfterHtml = '<span class="input-group-text">' . Text::_($addonAfter) . '</span>'

◆ $addonBeforeHtml

$addonBeforeHtml = '<span class="input-group-text">' . Text::_($addonBefore) . '</span>'

◆ $attributes

if ( $options) $attributes
Valeur initiale :
= array(
!empty($class) ? 'class="form-control ' . $class . '"' : 'class="form-control"',
!empty($size) ? 'size="' . $size . '"' : '',
!empty($description) ? 'aria-describedby="' . ($id ?: $name) . '-desc"' : '',
$disabled ? 'disabled' : '',
$readonly ? 'readonly' : '',
strlen($hint) ? 'placeholder="' . htmlspecialchars($hint, ENT_COMPAT, 'UTF-8') . '"' : '',
$onchange ? ' onchange="' . $onchange . '"' : '',
!empty($maxLength) ? $maxLength : '',
$required ? 'required' : '',
!empty($autocomplete) ? 'autocomplete="' . $autocomplete . '"' : '',
$autofocus ? ' autofocus' : '',
$spellcheck ? '' : 'spellcheck="false"',
!empty($inputmode) ? $inputmode : '',
!empty($pattern) ? 'pattern="' . $pattern . '"' : '',
!empty($validationtext) ? 'data-validation-text="' . $validationtext . '"' : '',
)
$dataAttribute
Definition: advanced.php:80
$required
Definition: checkbox.php:53
$id
Definition: com_modules/tmpl/module/edit_assignment.php:93
$disabled
Definition: action-button.php:29
$hint
Definition: advanced.php:68
$onchange
Definition: checkbox.php:59
$size
Definition: slider.php:67
$name
Definition: administrator/components/com_modules/tmpl/select/default.php:64
$autocomplete
Definition: advanced.php:70
$description
Definition: administrator/components/com_templates/tmpl/style/edit.php:52
else ENT_COMPAT
Definition: components/com_newsfeeds/tmpl/category/default_items.php:28
empty($onchange) ? null if($required) if(strtoupper($value)==='NOW') $readonly
Definition: layouts/joomla/form/field/calendar.php:93
$list
Definition: layouts/joomla/form/field/text.php:55
$autofocus
Definition: checkbox.php:54
$class
Definition: administrator/modules/mod_menu/tmpl/default.php:17

◆ $list

$list = ''

◆ endforeach

endforeach

◆ endif

endif