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

Builds clauses for filtering entities by properties in metadata table. More...

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

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

Detailed Description

Builds clauses for filtering entities by properties in metadata table.

Definition at line 10 of file MetadataWhereClause.php.

Member Function Documentation

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

Member Data Documentation

Elgg\Database\Clauses\MetadataWhereClause::$case_sensitive = true

Definition at line 45 of file MetadataWhereClause.php.

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

Definition at line 30 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$created_after

Definition at line 50 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$created_before

Definition at line 55 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$entity_guids

Definition at line 20 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$ids

Definition at line 15 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$names

Definition at line 25 of file MetadataWhereClause.php.

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

Definition at line 40 of file MetadataWhereClause.php.

Elgg\Database\Clauses\MetadataWhereClause::$values

Definition at line 35 of file MetadataWhereClause.php.


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