class CheckboxList extends MultiChoiceControl

Set of checkboxes.

Properties

protected Html $separator
protected Html $container
protected Html $itemLabel
Html read-only $separatorPrototype
Html read-only $containerPrototype
Html read-only $itemLabelPrototype

Methods

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

No description

void
loadHttpData()

Loads HTTP data.

Html|string
getControl()

Generates control's HTML element.

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

Generates label's HTML element.

Html|null
getControlPart($key = null)

No description

Html|null
getLabelPart($key = null)

No description

Html
getSeparatorPrototype()

Returns separator HTML element template.

Html
getContainerPrototype()

Returns container HTML element template.

Html
getItemLabelPrototype()

Returns item label HTML element template.

Details

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

No description

Parameters

$label
array $items

at line 49
void loadHttpData()

Loads HTTP data.

Return Value

void

at line 62
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

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

Generates label's HTML element.

Parameters

string|object $caption

Return Value

Html|string|null

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

No description

Parameters

$key

Return Value

Html|null

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

No description

Parameters

$key

Return Value

Html|null

at line 116
Html getSeparatorPrototype()

Returns separator HTML element template.

Return Value

Html

at line 125
Html getContainerPrototype()

Returns container HTML element template.

Return Value

Html

at line 134
Html getItemLabelPrototype()

Returns item label HTML element template.

Return Value

Html