JDatabaseQuery::order: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JDatabaseQuery::order ($columns) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
Returns this object to allow chaining. | Returns this object to allow chaining. | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/database/databasequery.php | libraries/joomla/database/databasequery.php (line 528) | ||
* see source code in [[jplatform:database/databasequery.php#cl-528|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 01:18, 24 April 2011
JDatabaseQuery::order
Description
Add a ordering column to the ORDER clause of the query.
Template: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 (line 528)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JDatabaseQuery::order
Examples
<CodeExamplesForm />