Structures_DataGrid::addColumn()

Structures_DataGrid::addColumn()  -- Add a column, with optional position

Synopsis

require_once 'Structures/DataGrid.php';

mixed Structures_DataGrid::addColumn (&$column, string [$position = 'last'], string [$relativeTo = NULL], object $column)

Description

Ce module n'est actuellement pas documenté.

Paramètres

&$column

chaîne de caractères $position

One of: "last", "first", "after" or "before" (default: "last")

chaîne de caractères $relativeTo

The name (label) or field name of the relative column, if $position is "after" or "before"

object $column

The Structures_DataGrid_Column object (reference to)

Valeur retournée

returns PEAR_Error on failure, void otherwise

Valeurs renvoyées

throws no exceptions thrown

Examples

Note

Cette fonction ne peut pas être appelée de façon statique.