CFAComponentTable
in package
CFAComponentTable Class component
Table of Contents
Properties
Methods
- __construct() : mixed
- cols() : mixed
- compact() : mixed
- headerStyle() : mixed
- label() : mixed
- preHeader() : mixed
- rows() : mixed
- style() : mixed
Properties
$data
public
mixed
$data
= []
$index
public
mixed
$index
= 0
$type
public
mixed
$type
= 'table'
Methods
__construct()
public
__construct([mixed $label = '' ]) : mixed
Parameters
- $label : mixed = ''
cols()
public
cols(array<string|int, mixed> $cols[, mixed $color = 'primary-500' ][, mixed $attributes = '' ]) : mixed
Parameters
- $cols : array<string|int, mixed>
- $color : mixed = 'primary-500'
- $attributes : mixed = ''
compact()
public
compact([mixed $bool = true ]) : mixed
Parameters
- $bool : mixed = true
headerStyle()
public
headerStyle(mixed $data) : mixed
Parameters
- $data : mixed
label()
public
label(mixed $label) : mixed
Parameters
- $label : mixed
preHeader()
public
preHeader(mixed $preHeader) : mixed
Parameters
- $preHeader : mixed
rows()
public
rows(array<string|int, mixed> $data[, mixed $color = '' ][, mixed $attributes = '' ]) : mixed
Parameters
- $data : array<string|int, mixed>
- $color : mixed = ''
- $attributes : mixed = ''
style()
public
style(mixed $data) : mixed
Parameters
- $data : mixed