\Hermes_Table

The Horde_UI_Table:: class displays and allows manipulation of tabular data.

Copyright 2001 Robert E. Coyle robertecoyle@hotmail.com

See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.

Summary

Methods
Properties
Constants
getMetaData()
getColumnCount()
render()
No public properties found
No constants found
_getData()
$_formVars
N/A
No private methods found
$_metaData
N/A

Properties

$_formVars

$_formVars : array

The form variables.

Type

array

$_metaData

$_metaData : array

Data loaded from the getTableMetaData API.

Type

array

Methods

getMetaData()

getMetaData() : array

Return the metadata for the table.

Throws

\Hermes_Exception

Returns

array —

An array of the table metadata.

getColumnCount()

getColumnCount() : integer

Count the number of columns in this table.

Returns the largest column count of any section, taking into account 'colspan' attributes.

Returns

integer —

The number of columns.

render()

render(array  $data = null) : mixed

Render the table.

Parameters

array $data

The data to render (unused).

Returns

mixed —

The HTML needed to render the table or false if failed.

_getData()

_getData(array  $range = null) : array

Return the data for the table.

Parameters

array $range

The range of data to return.

Returns

array —

The table data.