class CheckboxList extends MultiChoiceControl

Set of checkboxes.

Properties

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

Methods

__construct(string|Stringable|null $label = null, array|null $items = null)

No description

void
loadHttpData()

No description

Html
getControl()

No description

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

No description

Html
getControlPart(int|string|null $key = null)

Returns the HTML input element for a specific checkbox item by key.

Html
getLabelPart(int|string|null $key = null)

Returns the label element for the whole checkbox list, or the item label for a specific key.

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 31
__construct(string|Stringable|null $label = null, array|null $items = null)

No description

Parameters

string|Stringable|null $label
array|null $items

at line 42
void loadHttpData()

No description

Return Value

void

at line 54
Html getControl()

No description

Return Value

Html

at line 78
Html getLabel(string|Stringable|null $caption = null)

No description

Parameters

string|Stringable|null $caption

Return Value

Html

at line 87
Html getControlPart(int|string|null $key = null)

Returns the HTML input element for a specific checkbox item by key.

Parameters

int|string|null $key

Return Value

Html

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

Returns the label element for the whole checkbox list, or the item label for a specific key.

Parameters

int|string|null $key

Return Value

Html

at line 119
Html getSeparatorPrototype()

Returns separator HTML element template.

Return Value

Html

at line 128
Html getContainerPrototype()

Returns container HTML element template.

Return Value

Html

at line 137
Html getItemLabelPrototype()

Returns item label HTML element template.

Return Value

Html