TTable
extends TElement
in package
Creates a table layout, with rows and columns
Tags
Table of Contents
Properties
- $section : mixed
Methods
- __construct() : mixed
- Class Constructor
- addRow() : TTableRow
- Add a new row (TTableRow object) to the table
- addRowSet() : TTableRow
- Add a new row (TTableRow object) with many cells
- addSection() : mixed
- Add section
- create() : mixed
- Create a table
- fromData() : mixed
- Create a table from data array
Properties
$section
private
mixed
$section
Methods
__construct()
Class Constructor
public
__construct() : mixed
addRow()
Add a new row (TTableRow object) to the table
public
addRow() : TTableRow
Return values
TTableRowaddRowSet()
Add a new row (TTableRow object) with many cells
public
addRowSet() : TTableRow
Return values
TTableRowaddSection()
Add section
public
addSection(mixed $type) : mixed
Parameters
- $type : mixed
create()
Create a table
public
static create(mixed $properties) : mixed
Parameters
- $properties : mixed
fromData()
Create a table from data array
public
static fromData( $array_data[, $table_properties = null ][, $header_properties = null ][, $body_properties = null ]) : mixed