MultiSelectBox
class MultiSelectBox extends MultiChoiceControl
Select box control that allows multiple items selection.
Methods
__construct(string|Stringable|null $label = null, array|null $items = null)
No description
setItems(array $items, bool $useKeys = true)
Sets options and option groups from which to choose.
Html|string
getControl()
Generates control's HTML element.
setOptionAttribute(string $name, mixed $value = true)
Sets an attribute on all
array
getOptionAttributes()
Returns all option attributes.
Details
at line 27
__construct(string|Stringable|null $label = null, array|null $items = null)
No description
at line 39
MultiChoiceControl
setItems(array $items, bool $useKeys = true)
Sets options and option groups from which to choose.
at line 62
Html|string
getControl()
Generates control's HTML element.
at line 83
MultiSelectBox
addOptionAttributes(array $attributes)
deprecated
deprecated
No description
at line 93
MultiSelectBox
setOptionAttribute(string $name, mixed $value = true)
Sets an attribute on all
at line 104
array
getOptionAttributes()
Returns all option attributes.