Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$alt = preg_replace('/[^a-zA-Z0-9_\-]/', '_', $name) | |
$isBtnGroup = strpos(trim($class), 'btn-group') !== false | |
$isBtnYesNo = strpos(trim($class), 'btn-group-yesno') !== false | |
$classToggle = $isBtnGroup ? 'btn-check' : 'form-check-input' | |
$btnClass = $isBtnGroup ? 'btn btn-outline-secondary' : 'form-check-label' | |
$blockStart = $isBtnGroup ? '' : '<div class="form-check">' | |
$blockEnd = $isBtnGroup ? '' : '</div>' | |
$containerClass = trim($class . ' radio' . ($readonly || $disabled ? ' disabled' : '') . ($readonly ? ' readonly' : '')) | |
$attribs = ['id="' . $id . '"'] | |
if(!empty($disabled)) if(!empty($autofocus)) if($readonly|| $disabled) | if ( $dataAttribute) |
foreach($options as $i=> $option) | $disabled = !empty($option->disable) ? 'disabled' : '' |
$style = $disabled ? ' style="pointer-events: none"' : '' | |
if($isBtnYesNo) | $optionClass = !empty($option->class) ? $option->class : $btnClass |
$checked = ((string) $option->value === $value) ? 'checked="checked"' : '' | |
$onclick = !empty($option->onclick) ? 'onclick="' . $option->onclick . '"' : '' | |
$onchange = !empty($option->onchange) ? 'onchange="' . $option->onchange . '"' : '' | |
$oid = $id . $i | |
$ovalue = htmlspecialchars($option->value, ENT_COMPAT, 'UTF-8') | |
$attributes = array_filter(array($checked, $disabled, ltrim($style), $onchange, $onclick)) | |
if($required) | endif |
endforeach | |
$alt = preg_replace('/[^a-zA-Z0-9_\-]/', '_', $name) |
$attribs = ['id="' . $id . '"'] |
$attributes = array_filter(array($checked, $disabled, ltrim($style), $onchange, $onclick)) |
$blockEnd = $isBtnGroup ? '' : '</div>' |
$blockStart = $isBtnGroup ? '' : '<div class="form-check">' |
string $btnClass = $isBtnGroup ? 'btn btn-outline-secondary' : 'form-check-label' |
$classToggle = $isBtnGroup ? 'btn-check' : 'form-check-input' |
$containerClass = trim($class . ' radio' . ($readonly || $disabled ? ' disabled' : '') . ($readonly ? ' readonly' : '')) |
foreach ( $options as $i=> $option) $disabled = !empty($option->disable) ? 'disabled' : '' |
$oid = $id . $i |
$onchange = !empty($option->onchange) ? 'onchange="' . $option->onchange . '"' : '' |
$onclick = !empty($option->onclick) ? 'onclick="' . $option->onclick . '"' : '' |
$ovalue = htmlspecialchars($option->value, ENT_COMPAT, 'UTF-8') |
$style = $disabled ? ' style="pointer-events: none"' : '' |
Référencé par OutputFormatter\__construct(), PlgContentLoadmodule\_load(), PlgContentLoadmodule\_loadmod(), ColorProcessor\addStyle(), SymfonyStyle\block(), TemplateModel\copyStyles(), SymfonyStyle\createBlock(), OutputFormatter\createStyleFromString(), SymfonyStyle\createTable(), ConsoleApplication\doExecute(), Application\doRun(), CliDumper\dumpKey(), CliDumper\dumpScalar(), OutputFormatter\formatAndWrap(), FormatterHelper\formatBlock(), FormatterHelper\formatSection(), TemplatestyleField\getGroups(), ChromestyleField\getGroups(), StringHelper\increment(), HtmlDocument\mergeHeadData(), PlgContentLoadmodule\onContentPrepare(), PlgContentPagebreak\onContentPrepare(), Parser\parseBlockScalar(), OutputFormatterStyleStack\pop(), ManageModel\publish(), OutputFormatterStyleStack\push(), ModuleHelper\renderModule(), ColorProcessor\replaceColors(), StyleModel\setHome(), Document\setLineEnd(), OutputFormatter\setStyle(), HtmlDumper\style(), et StyleModel\unsetHome().
endforeach |
if ( $required) endif |
if (!empty( $disabled)) if (!empty( $autofocus)) if ( $readonly||$disabled) if($dataAttribute) |