Structures_DataGrid_Column::setOrderBy()

Structures_DataGrid_Column::setOrderBy() -- Set the field name or the expression to order the data by

Synopsis

require_once 'Structures/DataGrid/Column.php';

void Structures_DataGrid_Column::setOrderBy (string $str)

Description

Set the name of the field to order the data by. With SQL based datasources, this may be an SQL expression (function, etc..).

Parameter

string $str

field name or expression

Throws

throws no exceptions thrown

Note

This function can not be called statically.