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

Extends QueryBuilder with clauses necesary to sort entity lists by entity properties. More...

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

Public Member Functions

 prepare (QueryBuilder $qb, $table_alias=null)
 {Build an expression and/or apply it to an instance of query builder.
Parameters
QueryBuilder$qbQuery builder
string$table_aliasTable alias
Returns
CompositeExpression|null|string
} More...
 
- Public Member Functions inherited from Elgg\Database\Clauses\OrderByClause
 __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.
Parameters
QueryBuilder$qbQuery builder
string$table_aliasTable alias
Returns
CompositeExpression|null|string
} More...
 

Public Attributes

 $property
 
 $direction
 
 $signed
 
 $join_type
 
 $property_type
 
- Public Attributes inherited from Elgg\Database\Clauses\OrderByClause
 $expr
 
 $direction
 

Detailed Description

Extends QueryBuilder with clauses necesary to sort entity lists by entity properties.

Definition at line 11 of file EntitySortByClause.php.

Member Function Documentation

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

{Build an expression and/or apply it to an instance of query builder.

Parameters
QueryBuilder$qbQuery builder
string$table_aliasTable alias
Returns
CompositeExpression|null|string
}

Implements Elgg\Database\Clauses\Clause.

Definition at line 41 of file EntitySortByClause.php.

Member Data Documentation

Elgg\Database\Clauses\EntitySortByClause::$direction

Definition at line 21 of file EntitySortByClause.php.

Elgg\Database\Clauses\EntitySortByClause::$join_type

Definition at line 31 of file EntitySortByClause.php.

Elgg\Database\Clauses\EntitySortByClause::$property

Definition at line 16 of file EntitySortByClause.php.

Elgg\Database\Clauses\EntitySortByClause::$property_type

Definition at line 36 of file EntitySortByClause.php.

Elgg\Database\Clauses\EntitySortByClause::$signed

Definition at line 26 of file EntitySortByClause.php.


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