->orderBy() -- Add an order by condition
Описание
Adds a order by condition. Calling this without any arguments clears the
current order condition.
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 34-1. Setting the order by <?php
$person = new DataObjects_Person;
$person->orderBy('name');
$person->orderBy('age, eye');
$person->find();
// or with direction:
$person = new DataObjects_Person;
$person->orderBy('name ASC');
$person->orderBy('age DESC, eye');
$person->find();
?> |
|
HIVE: All information for read only. Please respect copyright! |
|