| Versionen | |
|---|---|
| drupal7 | public SelectQueryInterface::orderBy($field, $direction = 'ASC') |
Orders the result set by a given field.
If called multiple times, the query will order by each specified field in the order this method is called.
$field The field on which to order.
$direction The direction to sort. Legal values are "ASC" and "DESC".
The called object.
includes/
<?php
public function orderBy($field, $direction = 'ASC');
?>
Kommentare
Kommentar hinzufügen