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

setOptionAttribute(string $name, $value = true)

No description

array
getOptionAttributes()

No description

Details

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

No description

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 59
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 77
MultiSelectBox addOptionAttributes(array $attributes)

No description

Parameters

array $attributes

Return Value

MultiSelectBox

at line 85
MultiSelectBox setOptionAttribute(string $name, $value = true)

No description

Parameters

string $name
$value

Return Value

MultiSelectBox

at line 92
array getOptionAttributes()

No description

Return Value

array