class CheckboxList extends MultiChoiceControl

Set of checkboxes.

Properties

protected Html $separator
protected Html $container
protected Html $itemLabel

Methods

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

No description

Html|string
getControl()

Generates control's HTML element.

Html|string
getLabel(string|object $caption = null)

Generates label's HTML element.

Html|null
getControlPart($key = null)

No description

Html|null
getLabelPart($key = null)

No description

getSeparatorPrototype()

Returns separator HTML element template.

getContainerPrototype()

Returns container HTML element template.

getItemLabelPrototype()

Returns item label HTML element template.

Details

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

Parameters

$label
array $items

at line 52
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 79
Html|string getLabel(string|object $caption = null)

Generates label's HTML element.

Parameters

string|object $caption

Return Value

Html|string

at line 85
Html|null getControlPart($key = null)

Parameters

$key

Return Value

Html|null

at line 98
Html|null getLabelPart($key = null)

Parameters

$key

Return Value

Html|null

at line 110
Html getSeparatorPrototype()

Returns separator HTML element template.

Return Value

Html

at line 119
Html getContainerPrototype()

Returns container HTML element template.

Return Value

Html

at line 128
Html getItemLabelPrototype()

Returns item label HTML element template.

Return Value

Html