Miscellaneous

PEAR Manual


constructor Structures_DataGrid_Column::Structures_DataGrid_Column

constructor Structures_DataGrid_Column::Structures_DataGrid_Column() -- Constructor

Synopsis

require_once 'Structures/DataGrid/Column.php';

void constructor Structures_DataGrid_Column::Structures_DataGrid_Column ( string $label , string $field = NULL , string $orderBy = NULL , array $attributes = array() , string $autoFillValue = NULL , mixed $formatter = NULL , array $formatterArgs = array() )

Description

Creates default table style settings

Parameter

string $label

The label of the column to be printed

string $field

The name of the field for the column to be mapped to

string $orderBy

The field or expression to order the data by

array $attributes

The attributes for the XML or HTML TD tag; form: array(name => value, ...)

string $autoFillValue

The value to use for the autoFill

mixed $formatter

Formatter callback. See setFormatter()

array $formatterArgs

Associative array of arguments passed as second argument to the formatter callback

Throws

throws no exceptions thrown

Note

This function can not be called statically.




Miscellaneous

PEAR Manual