Elgg  Version 3.0
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)
 {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

 $expr
 

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 
)

{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 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: