Elgg
Version master
|
Builds a clause from closure or composite expression. More...
Public Member Functions | |||||||
__construct ($expr=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 | |
Additional Inherited Members | |
![]() | |
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 a clause from closure or composite expression.
Definition at line 11 of file WhereClause.php.
Elgg\Database\Clauses\WhereClause::__construct | ( | $expr = null | ) |
Constructor.
CompositeExpression | \Closure | string | $expr | Expression |
Definition at line 23 of file WhereClause.php.
Elgg\Database\Clauses\WhereClause::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\TypeSubtypeWhereClause, Elgg\Database\Clauses\RiverWhereClause, Elgg\Database\Clauses\RelationshipWhereClause, Elgg\Database\Clauses\MetadataWhereClause, Elgg\Database\Clauses\AttributeWhereClause, Elgg\Database\Clauses\AnnotationWhereClause, Elgg\Database\Clauses\AccessWhereClause, and Elgg\Database\Clauses\EntityWhereClause.
Definition at line 30 of file WhereClause.php.
Elgg\Database\Clauses\WhereClause::$expr |
Definition at line 16 of file WhereClause.php.