menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TTable

Description

Creates a table layout, with rows and columns

Located in /widget/container/TTable.php (line 17)

TElement
   |
   --TTable
Direct descendents
Class Description
TDataGrid DataGrid Widget: Allows to create datagrids with rows, columns and actions
TFieldList Create a field list
Method Summary
static fromData ($array_data, [$table_properties = null], [$header_properties = null], [$body_properties = null])
addRow ()
addRowSet (0)
addSection ($type)
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static fromData (line 109)

Create a table from data array

  • access: public
static fromData ($array_data, [$table_properties = null], [$header_properties = null], [$body_properties = null])
  • $array_data: Array with raw data
  • $table_properties: Array of CSS properties for table
  • $header_properties: Array of CSS properties for header
  • $body_properties: Array of CSS properties for body
Constructor __construct (line 24)

Class Constructor

  • access: public
__construct ()

Redefinition of:
TElement::__construct()
Class Constructor

Redefined in descendants as:
addRow (line 56)

Add a new row (TTableRow object) to the table

  • access: public
addRow ()
addRowSet (line 78)

Add a new row (TTableRow object) with many cells

  • access: public
addRowSet (0)
  • 0: Each argument is a row cell
addSection (line 33)

Add section

  • access: public
addSection ($type)
  • $type

Inherited Methods

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::clearChildren()
TElement::close()
TElement::del()
TElement::get()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::insert()
TElement::open()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()