Checkbox
extends Component
in package
Table of Contents
- $class : string
- $hint : string|null
- $id : string|null
- $label : string|null
- $margin : mixed
- $multiple : bool
- $name : string
- $options : mixed
- $value : mixed
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$class
public
string
$class
$hint
public
string|null
$hint
= null
$id
public
string|null
$id
= null
$label
public
string|null
$label
= null
$margin
public
mixed
$margin
$multiple
public
bool
$multiple
$name
public
string
$name
$options
public
mixed
$options
$value
public
mixed
$value
Methods
__construct()
Create a new component instance.
public
__construct(string $name[, mixed $options = [] ][, mixed $value = null ][, mixed $label = null ][, string $classes = null ][, bool $margin = true ][, string $hint = null ]) : mixed
Parameters
- $name : string
- $options : mixed = []
- $value : mixed = null
- $label : mixed = null
- $classes : string = null
- $margin : bool = true
- $hint : string = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string