Actions

API17

Difference between revisions of "JDatabaseQuery::order"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JDatabaseQuery->order ($columns)
+
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 20:18, 23 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JDatabaseQuery::order

Description

Add a ordering column to the ORDER clause of the query.

Description:JDatabaseQuery::order [Edit Descripton]

Since

Joomla 11.1

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)

Referenced by

See also

[Edit See Also]

SeeAlso:JDatabaseQuery::order

Examples

<CodeExamplesForm />