Lançado Adianti Framework 7.6!
Clique aqui para saber mais
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
TFieldList Create a field list
TDataGrid DataGrid Widget: Allows to create datagrids with rows, columns and actions
Method Summary
static create ($properties)
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 create (line 33)

Create a table

  • access: public
static create ($properties)
  • $properties
static fromData (line 122)

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 69)

Add a new row (TTableRow object) to the table

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

Add a new row (TTableRow object) with many cells

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

Add section

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

Inherited Methods

Inherited From TElement

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