Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier advanced.php

Espaces de nommage

 Joomla\Site
 

Variables

if($validate !=='color' &&in_array($format, array('rgb', 'rgba'), true)) else
 
 $inputclass = ($keywords && ! in_array($format, array('rgb', 'rgba'), true)) ? ' keywords' : ' ' . $format
 
 $class = ' class="form-control ' . trim('minicolors ' . $class) . ($validate === 'color' ? '' : $inputclass) . '"'
 
 $control = $control ? ' data-control="' . $control . '"' : ''
 
 $format = $format ? ' data-format="' . $format . '"' : ''
 
 $keywords = $keywords ? ' data-keywords="' . $keywords . '"' : ''
 
 $colors = $colors ? ' data-colors="' . $colors . '"' : ''
 
 $validate = $validate ? ' data-validate="' . $validate . '"' : ''
 
 $disabled = $disabled ? ' disabled' : ''
 
 $readonly = $readonly ? ' readonly' : ''
 
 $hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ' placeholder="' . $placeholder . '"'
 
 $required = $required ? ' required' : ''
 
 $autocomplete = !empty($autocomplete) ? ' autocomplete="' . $autocomplete . '"' : ''
 
 $direction = $lang->isRtl() ? ' dir="ltr" style="text-align:right"' : ''
 
 $wa = Factory::getApplication()->getDocument()->getWebAssetManager()
 
 $position
 
 $onchange
 
 $autofocus
 
 $dataAttribute
 

Documentation des variables

◆ $autocomplete

◆ $autofocus

$autofocus

◆ $class

$class = ' class="form-control ' . trim('minicolors ' . $class) . ($validate === 'color' ? '' : $inputclass) . '"'

◆ $colors

$colors = $colors ? ' data-colors="' . $colors . '"' : ''

◆ $control

◆ $dataAttribute

$dataAttribute

◆ $direction

$direction = $lang->isRtl() ? ' dir="ltr" style="text-align:right"' : ''

◆ $disabled

$disabled = $disabled ? ' disabled' : ''

◆ $format

$format = $format ? ' data-format="' . $format . '"' : ''

◆ $hint

$hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ' placeholder="' . $placeholder . '"'

◆ $inputclass

$inputclass = ($keywords && ! in_array($format, array('rgb', 'rgba'), true)) ? ' keywords' : ' ' . $format

◆ $keywords

$keywords = $keywords ? ' data-keywords="' . $keywords . '"' : ''

◆ $onchange

$onchange

◆ $position

$position

◆ $readonly

$readonly = $readonly ? ' readonly' : ''

◆ $required

$required = $required ? ' required' : ''

◆ $validate

$validate = $validate ? ' data-validate="' . $validate . '"' : ''

◆ $wa

$wa = Factory::getApplication()->getDocument()->getWebAssetManager()

◆ else

if ( $validate !=='color' &&in_array( $format, array( 'rgb', 'rgba'), true)) else
Valeur initiale :
{
$placeholder = '#rrggbb'
$placeholder
Definition: categoryedit.php:71