|
Elgg
Version master
|
Builds clauses for filtering entities by properties in metadata table. More...
Public Member Functions | |||||||
| prepare (QueryBuilder $qb, $table_alias=null) | |||||||
{{Build an expression and/or apply it to an instance of query builder.
| |||||||
Public Member Functions inherited from Elgg\Database\Clauses\WhereClause | |||||||
| __construct ($expr=null) | |||||||
| Constructor. More... | |||||||
Static Public Member Functions | |
| static | factory (array $attributes) |
| Build a new MetadataWhereClause. More... | |
Public Attributes | |
| $ids | |
| $entity_guids | |
| $names | |
| $values | |
| $created_after | |
| $created_before | |
| string | $value_type = ELGG_VALUE_STRING |
| bool | $case_sensitive = true |
| string | $comparison = '=' |
Public Attributes inherited from Elgg\Database\Clauses\WhereClause | |
| $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... | |
Builds clauses for filtering entities by properties in metadata table.
Definition at line 10 of file MetadataWhereClause.php.
|
static |
Build a new MetadataWhereClause.
| array | $attributes | parameters for clause |
Definition at line 77 of file MetadataWhereClause.php.
| Elgg\Database\Clauses\MetadataWhereClause::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\WhereClause.
Definition at line 51 of file MetadataWhereClause.php.
| bool Elgg\Database\Clauses\MetadataWhereClause::$case_sensitive = true |
Definition at line 44 of file MetadataWhereClause.php.
| string Elgg\Database\Clauses\MetadataWhereClause::$comparison = '=' |
Definition at line 46 of file MetadataWhereClause.php.
| Elgg\Database\Clauses\MetadataWhereClause::$created_after |
Definition at line 35 of file MetadataWhereClause.php.
| Elgg\Database\Clauses\MetadataWhereClause::$created_before |
Definition at line 40 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.
| string Elgg\Database\Clauses\MetadataWhereClause::$value_type = ELGG_VALUE_STRING |
Definition at line 42 of file MetadataWhereClause.php.
| Elgg\Database\Clauses\MetadataWhereClause::$values |
Definition at line 30 of file MetadataWhereClause.php.