Checkbox
class Checkbox extends BaseControl
Check box control. Allows the user to select a true or false condition.
Methods
__construct(string|Stringable|null $label = null)
No description
bool
isFilled()
Is control filled?
Html|string
getControl()
Generates control's HTML element.
Html|string|null
getLabel(string|Stringable|null $caption = null)
Bypasses label generation.
Html|null
getControlPart()
No description
Html|null
getLabelPart()
No description
Html
getContainerPrototype()
Returns container HTML element template.
Html
Details
at line 25
__construct(string|Stringable|null $label = null)
No description
at line 39
Control
setValue(mixed $value)
internal |
Sets control's value.
at line 50
bool
isFilled()
Is control filled?
at line 56
Html|string
getControl()
Generates control's HTML element.
at line 65
Html|string|null
getLabel(string|Stringable|null $caption = null)
Bypasses label generation.
at line 71
Html|null
getControlPart()
No description
at line 77
Html|null
getLabelPart()
No description
at line 86
Html
getContainerPrototype()
Returns container HTML element template.
at line 93
Html
getSeparatorPrototype()
deprecated
deprecated
No description