CheckboxInput
class CheckboxInput extends Checkbox implements IValidationInput
Class CheckboxInput. Single checkbox.
Traits
Trait StandardValidationTrait.
Methods
Html
showValidation(
Html
$control)
Modify control in such a way that it explicitly shows its validation state.
Html
getControl()
Generates a checkbox
static Html
makeCheckbox(string $name, string $htmlId, string|null
$caption = NULL, bool $checked = FALSE,
bool|mixed $value = FALSE, bool $required =
FALSE, bool $disabled = FALSE,
Rules
|null $rules = NULL)
Makes a Bootstrap checkbox HTML
Details
at line 93
Html
showValidation(
Html
$control)
Modify control in such a way that it explicitly shows its validation state.
Returns the modified element.
at line 34
Html
getControl()
Generates a checkbox
at line 52
static
Html
makeCheckbox(string $name, string $htmlId, string|null $caption = NULL,
bool $checked = FALSE, bool|mixed $value = FALSE, bool $required = FALSE, bool $disabled
= FALSE,
Rules
|null $rules = NULL)
Makes a Bootstrap checkbox HTML