Checkbox
class Checkbox extends BaseControl
Check box control. Allows the user to select a true or false condition.
Methods
__construct(string|object $label = null)
No description
bool
isFilled()
Is control filled?
Html|string
getControl()
Generates control's HTML element.
Html|null
getControlPart()
No description
Html|null
getLabelPart()
No description
getSeparatorPrototype()
Returns wrapper HTML element template.
Details
at line 28
__construct(string|object $label = null)
No description
at line 42
IControl
setValue(mixed $value)
internal |
Sets control's value.
at line 52
bool
isFilled()
Is control filled?
at line 58
Html|string
getControl()
Generates control's HTML element.
at line 67
Html|string|null
getLabel(string|object $caption = null)
Bypasses label generation.
at line 73
Html|null
getControlPart()
No description
at line 79
Html|null
getLabelPart()
No description
at line 88
Html
getSeparatorPrototype()
Returns wrapper HTML element template.