Elgg  Version 4.3
Public Member Functions | Public Attributes | List of all members
Elgg\Database\Clauses\OrderByClause Class Reference

Extends QueryBuilder with ORDER BY clauses. More...

Inheritance diagram for Elgg\Database\Clauses\OrderByClause:
Elgg\Database\Clauses\Clause Elgg\Database\Clauses\EntitySortByClause

Public Member Functions

 __construct ($expr=null, $direction=null)
 Constructor. More...
 
 prepare (QueryBuilder $qb, $table_alias=null)
 {} More...
 
- Public Member Functions inherited from Elgg\Database\Clauses\Clause
 prepare (QueryBuilder $qb, $table_alias=null)
 Build an expression and/or apply it to an instance of query builder. More...
 

Public Attributes

 $expr
 
 $direction
 

Additional Inherited Members

- Protected Member Functions inherited from Elgg\Database\Clauses\Clause
 isCallable ($callback)
 Check if a clause expression is callable. More...
 
 call ($callback, QueryBuilder $qb, $table_alias=null)
 Call the expression for the clause. More...
 
 callJoin ($callback, QueryBuilder $qb, $joined_alias, $table_alias=null)
 Call the expression for a join clause. More...
 

Detailed Description

Extends QueryBuilder with ORDER BY clauses.

Definition at line 12 of file OrderByClause.php.

Constructor & Destructor Documentation

Elgg\Database\Clauses\OrderByClause::__construct (   $expr = null,
  $direction = null 
)

Constructor.

Parameters
CompositeExpression | Closure | string$exprExpression
string$directionDirection

Definition at line 30 of file OrderByClause.php.

Member Function Documentation

Elgg\Database\Clauses\OrderByClause::prepare ( QueryBuilder  $qb,
  $table_alias = null 
)

{}

Definition at line 38 of file OrderByClause.php.

Member Data Documentation

Elgg\Database\Clauses\OrderByClause::$direction

Definition at line 22 of file OrderByClause.php.

Elgg\Database\Clauses\OrderByClause::$expr

Definition at line 17 of file OrderByClause.php.


The documentation for this class was generated from the following file: