column
in package
implements
JsonSerializable
Uses
jsonSerializeReturnObject
Data view column component
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $align : string
- Column align
- $class : string
- CSS class
- $descr : string
- Column description
- $name : string
- Column name
- $size : int
- Column width/size
- __construct() : mixed
- Konstruktor
- getAlign() : string
- Returns column aligment
- getDescr() : string
- Returns column Description
- getName() : string
- Returns column name
- getSize() : string
- Returns column size
- setAlign() : $this
- Set column alignment
- setDescr() : $this
- Set column description
- setName() : $this
- Set column name
- setSize() : $this
- Set column size
Properties
$align
Column align
protected
string
$align
= 'left'
$class
CSS class
protected
string
$class
= ''
$descr
Column description
protected
string
$descr
= ''
$name
Column name
protected
string
$name
= ''
$size
Column width/size
protected
int
$size
= ''
Methods
__construct()
Konstruktor
public
__construct(string $name, string $descr[, string $class = '' ]) : mixed
Parameters
- $name : string
- $descr : string
- $class : string = ''
Return values
mixed —getAlign()
Returns column aligment
public
getAlign() : string
Return values
string —getDescr()
Returns column Description
public
getDescr() : string
Return values
string —getName()
Returns column name
public
getName() : string
Return values
string —getSize()
Returns column size
public
getSize() : string
Return values
string —setAlign()
Set column alignment
public
setAlign(string $align) : $this
Parameters
- $align : string
Return values
$this —setDescr()
Set column description
public
setDescr(string $descr) : $this
Parameters
- $descr : string
Return values
$this —setName()
Set column name
public
setName(string $name) : $this
Parameters
- $name : string
Return values
$this —setSize()
Set column size
public
setSize(string $size) : $this
Parameters
- $size : string