Structures_DataGrid::sortRecordSet()

Structures_DataGrid::sortRecordSet()  -- Sorts the records by the defined field.

Synopsis

require_once 'Structures/DataGrid.php';

void Structures_DataGrid::sortRecordSet (array $sortSpec, string [$direction = 'ASC'])

Описание

Do not use this method if data is coming from a database as sorting is much faster coming directly from the database itself.

Параметр

array $sortSpec

Sorting specification Structure: array(fieldName => direction, ...)

string $direction

Deprecated. Put the direction(s) into $sortSpec

Throws

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ