API17:JDatabaseQuery::order
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabaseQuery::order
Description
Add a ordering column to the ORDER clause of the query.
Description:JDatabaseQuery::order [Edit Descripton]
Since
Synopsis
public JDatabaseQuery->order ($columns)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $columns | mixed | A string or array of ordering columns. |
Returns
Returns this object to allow chaining.
Defined in
libraries/joomla/database/databasequery.php
Referenced by
See also
Examples
<CodeExamplesForm />
