Miscellaneous | |
PEAR Manual | |
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()
)
Creates default table style settings
The label of the column to be printed
The name of the field for the column to be mapped to
The field or expression to order the data by
The attributes for the XML or HTML TD tag; form: array(name => value, ...)
The value to use for the autoFill
Formatter callback. See setFormatter()
Associative array of arguments passed as second argument to the formatter callback
throws no exceptions thrown
This function can not be called statically.
Miscellaneous | |
PEAR Manual | |