RadioList
class RadioList extends ChoiceControl
Set of radio button controls.
Properties
| $generateId | |||
| protected | $separator | ||
| protected | $container | ||
| protected | $itemLabel | ||
| Html read-only | $separatorPrototype | ||
| Html read-only | $containerPrototype | ||
| Html read-only | $itemLabelPrototype |
Methods
__construct(string|Stringable|null $label = null, array|null $items = null)
No description
Html
getControl()
No description
Html
getLabel(string|Stringable|null $caption = null)
No description
Html
getControlPart(int|string|null $key = null)
Returns the HTML input element for a specific radio button item by key.
Html
getLabelPart(int|string|null $key = null)
Returns the label element for the whole radio list, or the item label for a specific key.
Html
getSeparatorPrototype()
Returns separator HTML element template.
Html
getContainerPrototype()
Returns container HTML element template.
Html
getItemLabelPrototype()
Returns item label HTML element template.
Details
at line 32
__construct(string|Stringable|null $label = null, array|null $items = null)
No description
at line 43
Html
getControl()
No description
at line 73
Html
getLabel(string|Stringable|null $caption = null)
No description
at line 82
Html
getControlPart(int|string|null $key = null)
Returns the HTML input element for a specific radio button item by key.
at line 98
Html
getLabelPart(int|string|null $key = null)
Returns the label element for the whole radio list, or the item label for a specific key.
at line 113
Html
getSeparatorPrototype()
Returns separator HTML element template.
at line 122
Html
getContainerPrototype()
Returns container HTML element template.
at line 131
Html
getItemLabelPrototype()
Returns item label HTML element template.