MultiSelectBox
class MultiSelectBox extends MultiChoiceControl
Select box control that allows multiple items selection.
Methods
__construct($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)
No description
array
getOptionAttributes()
No description
Details
at line 26 __construct($label = null, array|null $items = null)
No description
at line 36 MultiChoiceControl setItems(array $items, bool $useKeys = true)
Sets options and option groups from which to choose.
at line 59 Html|string getControl()
Generates control's HTML element.
at line 77 MultiSelectBox addOptionAttributes(array $attributes) deprecated
deprecated
No description
at line 84 MultiSelectBox setOptionAttribute(string $name, mixed $value = true)
No description
at line 91 array getOptionAttributes()
No description