|
Elgg
Version 6.3
|
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 | |
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... | |
Extends QueryBuilder with ORDER BY clauses.
Definition at line 11 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 29 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 |
Reimplemented from Elgg\Database\Clauses\Clause.
Reimplemented in Elgg\Database\Clauses\EntitySortByClause.
Definition at line 37 of file OrderByClause.php.
| Elgg\Database\Clauses\OrderByClause::$direction |
Definition at line 21 of file OrderByClause.php.
| Elgg\Database\Clauses\OrderByClause::$expr |
Definition at line 16 of file OrderByClause.php.