RadioList
class RadioList extends ChoiceControl
Set of radio button controls.
Properties
$generateId | |||
protected | $separator | separator element template |
|
protected | $container | container element template |
|
protected | $itemLabel | item label template |
|
Html read-only | $separatorPrototype | ||
Html read-only | $containerPrototype | ||
Html read-only | $itemLabelPrototype |
Methods
__construct($label = null, array|null $items = null)
No description
Html|string
getControl()
Generates control's HTML element.
Html|string|null
getLabel(string|Stringable|null $caption = null)
Generates label's HTML element.
Html|null
getControlPart($key = null)
No description
Html|null
getLabelPart($key = null)
No description
getSeparatorPrototype()
Returns separator HTML element template.
getContainerPrototype()
Returns container HTML element template.
getItemLabelPrototype()
Returns item label HTML element template.
Details
at line 38
__construct($label = null, array|null $items = null)
No description
at line 49
Html|string
getControl()
Generates control's HTML element.
at line 76
Html|string|null
getLabel(string|Stringable|null $caption = null)
Generates label's HTML element.
at line 82
Html|null
getControlPart($key = null)
No description
at line 94
Html|null
getLabelPart($key = null)
No description
at line 106
Html
getSeparatorPrototype()
Returns separator HTML element template.
at line 115
Html
getContainerPrototype()
Returns container HTML element template.
at line 124
Html
getItemLabelPrototype()
Returns item label HTML element template.