class MultiSelectBox extends MultiChoiceControl

Select box control that allows multiple items selection.

Methods

__construct($label = null, array $items = null)

No description

setItems(array $items, $useKeys = true)

Sets options and option groups from which to choose.

Html|string
getControl()

Generates control's HTML element.

addOptionAttributes(array $attributes)

No description

Details

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

No description

Parameters

$label
array $items

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

Sets options and option groups from which to choose.

Parameters

array $items
$useKeys

Return Value

MultiChoiceControl

at line 61
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 81
MultiSelectBox addOptionAttributes(array $attributes)

No description

Parameters

array $attributes

Return Value

MultiSelectBox