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

Builds quereis for matching entities by their attributes. More...

Inheritance diagram for Elgg\Database\Clauses\AttributeWhereClause:
Elgg\Database\Clauses\WhereClause 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\WhereClause
 __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

 $names
 
 $comparison = '='
 
 $values
 
 $value_type = ELGG_VALUE_STRING
 
 $case_sensitive
 
- Public Attributes inherited from Elgg\Database\Clauses\WhereClause
 $expr
 

Detailed Description

Builds quereis for matching entities by their attributes.

Definition at line 10 of file AttributeWhereClause.php.

Member Function Documentation

Elgg\Database\Clauses\AttributeWhereClause::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 40 of file AttributeWhereClause.php.

Member Data Documentation

Elgg\Database\Clauses\AttributeWhereClause::$case_sensitive

Definition at line 35 of file AttributeWhereClause.php.

Elgg\Database\Clauses\AttributeWhereClause::$comparison = '='

Definition at line 20 of file AttributeWhereClause.php.

Elgg\Database\Clauses\AttributeWhereClause::$names

Definition at line 15 of file AttributeWhereClause.php.

Elgg\Database\Clauses\AttributeWhereClause::$value_type = ELGG_VALUE_STRING

Definition at line 30 of file AttributeWhereClause.php.

Elgg\Database\Clauses\AttributeWhereClause::$values

Definition at line 25 of file AttributeWhereClause.php.


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