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