Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$input = '<input type="radio" id="%1$s" name="%2$s" value="%3$s" %4$s>' | |
$attr = 'id="' . $id . '"' | |
foreach( $options as $i=> $option)(empty($value) && $option->value=='0') | $optionValue = (string) $option->value |
$optionId = $id . $i | |
$attributes = $optionValue == $value ? 'checked class="active ' . $class . '"' : ($class ? 'class="' . $class . '"' : '') | |
endforeach | |
$attr = 'id="' . $id . '"' |
$attributes = $optionValue == $value ? 'checked class="active ' . $class . '"' : ($class ? 'class="' . $class . '"' : '') |
$input = '<input type="radio" id="%1$s" name="%2$s" value="%3$s" %4$s>' |
The format of the input tag to be filled in using sprintf. %1 - id %2 - name %3 - value %4 = any other attributes
$optionId = $id . $i |
foreach ($options as $i => $option) (empty( $value) &&$option->value=='0') $optionValue = (string) $option->value |
Référencé par CompletionInput\bind().
endforeach |