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()])
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