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

Builds clauses for filtering entities by their properties in entity_relationships table. More...

Inheritance diagram for Elgg\Database\Clauses\RelationshipWhereClause:
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
 
 $names
 
 $subject_guids
 
 $object_guids
 
 $created_after
 
 $created_before
 
 $inverse
 
 $join_on = 'guid'
 
- Public Attributes inherited from Elgg\Database\Clauses\WhereClause
 $expr
 

Detailed Description

Builds clauses for filtering entities by their properties in entity_relationships table.

Definition at line 10 of file RelationshipWhereClause.php.

Member Function Documentation

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

Member Data Documentation

Elgg\Database\Clauses\RelationshipWhereClause::$created_after

Definition at line 35 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$created_before

Definition at line 40 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$ids

Definition at line 15 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$inverse

Definition at line 45 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$join_on = 'guid'

Definition at line 50 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$names

Definition at line 20 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$object_guids

Definition at line 30 of file RelationshipWhereClause.php.

Elgg\Database\Clauses\RelationshipWhereClause::$subject_guids

Definition at line 25 of file RelationshipWhereClause.php.


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