Elgg  Version 4.x
Public Member Functions | Public Attributes | List of all members
Elgg\Database\Clauses\WhereClause Class Reference

Builds a clause from closure or composite expression. More...

Inheritance diagram for Elgg\Database\Clauses\WhereClause:
Elgg\Database\Clauses\Clause Elgg\Database\Clauses\AccessWhereClause Elgg\Database\Clauses\AnnotationWhereClause Elgg\Database\Clauses\AttributeWhereClause Elgg\Database\Clauses\EntityWhereClause Elgg\Database\Clauses\MetadataWhereClause Elgg\Database\Clauses\PrivateSettingWhereClause Elgg\Database\Clauses\RelationshipWhereClause Elgg\Database\Clauses\RiverWhereClause Elgg\Database\Clauses\TypeSubtypeWhereClause

Public Member Functions

 __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

 $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...
 

Detailed Description

Builds a clause from closure or composite expression.

Definition at line 12 of file WhereClause.php.

Constructor & Destructor Documentation

Elgg\Database\Clauses\WhereClause::__construct (   $expr = null)

Constructor.

Parameters
CompositeExpression | Closure | string$exprExpression

Definition at line 24 of file WhereClause.php.

Member Function Documentation

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

{}

Definition at line 31 of file WhereClause.php.

Member Data Documentation

Elgg\Database\Clauses\WhereClause::$expr

Definition at line 17 of file WhereClause.php.


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