Elgg
Version 3.0
|
Extends QueryBuilder with ORDER BY clauses. More...
Public Member Functions | |||||||
__construct ($expr=null, $direction=null) | |||||||
Constructor. More... | |||||||
prepare (QueryBuilder $qb, $table_alias=null) | |||||||
{Build an expression and/or apply it to an instance of query builder.
| |||||||
Public Attributes | |
$expr | |
$direction | |
Extends QueryBuilder with ORDER BY clauses.
Definition at line 12 of file OrderByClause.php.
Elgg\Database\Clauses\OrderByClause::__construct | ( | $expr = null , |
|
$direction = null |
|||
) |
Constructor.
CompositeExpression | Closure | string | $expr | Expression |
string | $direction | Direction |
Definition at line 30 of file OrderByClause.php.
Elgg\Database\Clauses\OrderByClause::prepare | ( | QueryBuilder | $qb, |
$table_alias = null |
|||
) |
{Build an expression and/or apply it to an instance of query builder.
QueryBuilder | $qb | Query builder |
string | $table_alias | Table alias |
Implements Elgg\Database\Clauses\Clause.
Definition at line 38 of file OrderByClause.php.
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.