Checkbox
class Checkbox extends BaseControl
Checkbox control returning a boolean value.
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
getSeparatorPrototype()
No description
Details
at line 24
__construct(string|Stringable|null $label = null)
No description
at line 34
Control
setValue(mixed $value)
| internal |
No description
at line 45
bool
isFilled()
Is control filled?
at line 51
Html|string
getControl()
Generates control's HTML element.
at line 60
Html|string|null
getLabel(string|Stringable|null $caption = null)
Bypasses label generation.
at line 66
Html|null
getControlPart()
No description
at line 72
Html|null
getLabelPart()
No description
at line 81
Html
getContainerPrototype()
Returns container HTML element template.
at line 87
Html
getSeparatorPrototype()
No description