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

Builds queries for filtering entities by their properties in the entities table. More...

Inheritance diagram for Elgg\Database\Clauses\EntityWhereClause:
Elgg\Database\Clauses\WhereClause Elgg\Database\Clauses\Clause

Public Member Functions

 prepare (QueryBuilder $qb, $table_alias= '')
 {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...
 

Static Public Member Functions

static factory (QueryOptions $options)
 Build new clause from options. More...
 

Public Attributes

 $guids
 
 $owner_guids
 
 $container_guids
 
 $type_subtype_pairs
 
 $access_ids
 
 $created_after
 
 $created_before
 
 $updated_after
 
 $updated_before
 
 $last_action_after
 
 $last_action_before
 
 $enabled
 
 $ignore_access
 
 $use_enabled_clause
 
 $viewer_guid
 
- Public Attributes inherited from Elgg\Database\Clauses\WhereClause
 $expr
 

Detailed Description

Builds queries for filtering entities by their properties in the entities table.

Definition at line 11 of file EntityWhereClause.php.

Member Function Documentation

static Elgg\Database\Clauses\EntityWhereClause::factory ( QueryOptions  $options)
static

Build new clause from options.

Parameters
QueryOptions$optionsOptions
Returns
static

Definition at line 128 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::prepare ( QueryBuilder  $qb,
  $table_alias = '' 
)

{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 91 of file EntityWhereClause.php.

Member Data Documentation

Elgg\Database\Clauses\EntityWhereClause::$access_ids

Definition at line 36 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$container_guids

Definition at line 26 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$created_after

Definition at line 41 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$created_before

Definition at line 46 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$enabled

Definition at line 71 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$guids

Definition at line 16 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$ignore_access

Definition at line 76 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$last_action_after

Definition at line 61 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$last_action_before

Definition at line 66 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$owner_guids

Definition at line 21 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$type_subtype_pairs

Definition at line 31 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$updated_after

Definition at line 51 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$updated_before

Definition at line 56 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$use_enabled_clause

Definition at line 81 of file EntityWhereClause.php.

Elgg\Database\Clauses\EntityWhereClause::$viewer_guid

Definition at line 86 of file EntityWhereClause.php.


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