class RadioList extends ChoiceControl

Set of radio button controls.

Properties

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

Methods

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

No description

Html|string
getControl()

Generates control's HTML element.

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

No description

Parameters

$label
array|null $items

at line 43
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

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

Generates label's HTML element.

Parameters

string|Stringable|null $caption

Return Value

Html|string|null

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

No description

Parameters

$key

Return Value

Html|null

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

No description

Parameters

$key

Return Value

Html|null

at line 100
Html getSeparatorPrototype()

Returns separator HTML element template.

Return Value

Html

at line 109
Html getContainerPrototype()

Returns container HTML element template.

Return Value

Html

at line 118
Html getItemLabelPrototype()

Returns item label HTML element template.

Return Value

Html