JDatabaseQuery::order
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseQuery::order[edit]
Description[edit]
Add a ordering column to the ORDER clause of the query.
Template:Description:JDatabaseQuery::order [Edit Descripton]
Since[edit]
Synopsis[edit]
public JDatabaseQuery::order ($columns)
Parameter | Type | Default | Description |
---|---|---|---|
$columns | mixed | A string or array of ordering columns. |
Returns[edit]
Returns this object to allow chaining.
Defined in[edit]
libraries/joomla/database/databasequery.php (line 528)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabaseQuery::order
Examples[edit]
<CodeExamplesForm />