Elgg
Version master
|
Builds clauses for filtering entities by their type and subtype. More...
Public Member Functions | |
prepare (QueryBuilder $qb, $table_alias=null) | |
{} More... | |
Public Member Functions inherited from Elgg\Database\Clauses\WhereClause | |
__construct ($expr=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 | |
$type_column = 'type' | |
$subtype_column = 'subtype' | |
$type_subtype_pairs = [] | |
Public Attributes inherited from Elgg\Database\Clauses\WhereClause | |
$expr | |
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... | |
Builds clauses for filtering entities by their type and subtype.
Definition at line 10 of file TypeSubtypeWhereClause.php.
Elgg\Database\Clauses\TypeSubtypeWhereClause::prepare | ( | QueryBuilder | $qb, |
$table_alias = null |
|||
) |
{}
Definition at line 30 of file TypeSubtypeWhereClause.php.
Elgg\Database\Clauses\TypeSubtypeWhereClause::$subtype_column = 'subtype' |
Definition at line 20 of file TypeSubtypeWhereClause.php.
Elgg\Database\Clauses\TypeSubtypeWhereClause::$type_column = 'type' |
Definition at line 15 of file TypeSubtypeWhereClause.php.
Elgg\Database\Clauses\TypeSubtypeWhereClause::$type_subtype_pairs = [] |
Definition at line 25 of file TypeSubtypeWhereClause.php.