class MultiSelectBox extends MultiChoiceControl

Select box control that allows multiple items selection.

Methods

__construct($label = null, array $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.

addOptionAttributes(array $attributes)

No description

array
getOptionAttributes()

No description

Details

at line 27
__construct($label = null, array $items = null)

Parameters

$label
array $items

at line 38
MultiChoiceControl setItems(array $items, bool $useKeys = true)

Sets options and option groups from which to choose.

Parameters

array $items
bool $useKeys

Return Value

MultiChoiceControl

at line 62
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 82
MultiSelectBox addOptionAttributes(array $attributes)

Parameters

array $attributes

Return Value

MultiSelectBox

at line 89
array getOptionAttributes()

Return Value

array