Info
extends Component
in package
Table of Contents
- $align : string
- $classes : string
- $icon : string|null
- $isUrl : bool
- $label : string|null
- $type : string
- $value : string|null
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$align
public
string
$align
= 'left'
$classes
public
string
$classes
= ''
$icon
public
string|null
$icon
= null
$isUrl
public
bool
$isUrl
= false
$label
public
string|null
$label
= null
$type
public
string
$type
= 'text'
$value
public
string|null
$value
= null
Methods
__construct()
Create a new component instance.
public
__construct([string $label = null ][, string $value = null ][, string $icon = null ][, string $type = 'text' ][, string $classes = '' ][, string $align = 'left' ][, bool $isUrl = false ]) : mixed
Parameters
- $label : string = null
- $value : string = null
- $icon : string = null
- $type : string = 'text'
-
- text | amount | timestamp | date
- $classes : string = ''
- $align : string = 'left'
- $isUrl : bool = false
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string