Structures_DataGrid::addColumn()

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

Referentiesamenvatting

require_once 'Structures/DataGrid.php';

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

Beschrijving

Dit pakket in nog niet gedocumenteerd.

Parameter

&$column

string $position

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

string $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)

Return waarde

returns PEAR_Error on failure, void otherwise

Throws

throws no exceptions thrown

Examples

Note

Deze functie kan niet statisch worden aangeroepen.