CheckboxList
class CheckboxList extends MultiChoiceControl
Set of checkboxes.
Properties
| protected | $separator | ||
| protected | $container | ||
| protected | $itemLabel | ||
| Html read-only | $separatorPrototype | ||
| Html read-only | $containerPrototype | ||
| Html read-only | $itemLabelPrototype |
Methods
__construct($label = null, array|null $items = null)
No description
void
loadHttpData()
Loads HTTP data.
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
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($label = null, array|null $items = null)
No description
at line 43
void
loadHttpData()
Loads HTTP data.
at line 53
Html|string
getControl()
Generates control's HTML element.
at line 77
Html|string|null
getLabel(string|Stringable|null $caption = null)
Generates label's HTML element.
at line 83
Html|null
getControlPart($key = null)
No description
at line 96
Html|null
getLabelPart($key = null)
No description
at line 108
Html
getSeparatorPrototype()
Returns separator HTML element template.
at line 117
Html
getContainerPrototype()
Returns container HTML element template.
at line 126
Html
getItemLabelPrototype()
Returns item label HTML element template.