dataView
in package
Simple data view component
Tags
Table of Contents
- $columns : array<string|int, mixed>
- Data view columns
- $init : bool
- Init data view
- $name : string
- Data view name
- $rows : array<string|int, mixed>
- Data rows
- __construct() : mixed
- Konstruktor
- addColumn() : mixed
- Add single dataview colunm
- addColumns() : mixed
- Add dataview colunms
- addRow() : mixed
- Add single dataview row
- getColumns() : array<string|int, mixed>
- Returns dataview columns
- getJsFiles() : array<string|int, mixed>
- Get dataview JavaScript components
- getJsLangVars() : array<string|int, mixed>
- Returns dataview JavaScript language variables
- getJsVars() : array<string|int, mixed>
- Get dataview JavaScript variables array
- getName() : string
- Returns dataview name
- getRows() : array<string|int, mixed>
- Returns dataview rowns
- setName() : mixed
- Set dataview name
- setRows() : mixed
- Set dataview rowns
Properties
$columns
Data view columns
protected
array<string|int, mixed>
$columns
= []
$init
Init data view
protected
bool
$init
= ''
$name
Data view name
protected
string
$name
= ''
$rows
Data rows
protected
array<string|int, mixed>
$rows
= []
Methods
__construct()
Konstruktor
public
__construct(string $name[, bool $init = true ]) : mixed
Parameters
- $name : string
- $init : bool = true
Return values
mixed —addColumn()
Add single dataview colunm
public
addColumn(column $column) : mixed
Parameters
- $column : column
Return values
mixed —addColumns()
Add dataview colunms
public
addColumns(array<string|int, mixed> $columns) : mixed
Parameters
- $columns : array<string|int, mixed>
Return values
mixed —addRow()
Add single dataview row
public
addRow(array<string|int, mixed> $row) : mixed
Parameters
- $row : array<string|int, mixed>
Return values
mixed —getColumns()
Returns dataview columns
public
getColumns() : array<string|int, mixed>
Return values
array<string|int, mixed> —getJsFiles()
Get dataview JavaScript components
public
getJsFiles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getJsLangVars()
Returns dataview JavaScript language variables
public
getJsLangVars() : array<string|int, mixed>
Return values
array<string|int, mixed> —getJsVars()
Get dataview JavaScript variables array
public
getJsVars() : array<string|int, mixed>
Return values
array<string|int, mixed> —getName()
Returns dataview name
public
getName() : string
Return values
string —getRows()
Returns dataview rowns
public
getRows() : array<string|int, mixed>
Return values
array<string|int, mixed> —setName()
Set dataview name
public
setName(string $name) : mixed
Parameters
- $name : string
Return values
mixed —setRows()
Set dataview rowns
public
setRows(array<string|int, mixed> $rows) : mixed
Parameters
- $rows : array<string|int, mixed>