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

Builds queries to restrict access. More...

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

Public Member Functions

 prepare (QueryBuilder $qb, $table_alias=null)
 {} More...
 
- Public Member Functions inherited from Elgg\Database\Clauses\WhereClause
 __construct ($expr=null)
 Constructor. More...
 
 prepare (QueryBuilder $qb, $table_alias=null)
 {} More...
 
- Public Member Functions inherited from Elgg\Database\Clauses\Clause
 prepare (QueryBuilder $qb, $table_alias=null)
 Build an expression and/or apply it to an instance of query builder. More...
 

Public Attributes

string $access_column = 'access_id'
 
string $owner_guid_column = 'owner_guid'
 
string $guid_column = 'guid'
 
string $enabled_column = 'enabled'
 
string $deleted_column = 'deleted'
 
bool $ignore_access = null
 
bool $use_enabled_clause = null
 
bool $use_deleted_clause = null
 
int $viewer_guid = null
 
- 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...
 

Detailed Description

Builds queries to restrict access.

Definition at line 10 of file AccessWhereClause.php.

Member Function Documentation

Elgg\Database\Clauses\AccessWhereClause::prepare ( QueryBuilder  $qb,
  $table_alias = null 
)

{}

Definition at line 33 of file AccessWhereClause.php.

Member Data Documentation

string Elgg\Database\Clauses\AccessWhereClause::$access_column = 'access_id'

Definition at line 12 of file AccessWhereClause.php.

string Elgg\Database\Clauses\AccessWhereClause::$deleted_column = 'deleted'

Definition at line 20 of file AccessWhereClause.php.

string Elgg\Database\Clauses\AccessWhereClause::$enabled_column = 'enabled'

Definition at line 18 of file AccessWhereClause.php.

string Elgg\Database\Clauses\AccessWhereClause::$guid_column = 'guid'

Definition at line 16 of file AccessWhereClause.php.

bool Elgg\Database\Clauses\AccessWhereClause::$ignore_access = null

Definition at line 22 of file AccessWhereClause.php.

string Elgg\Database\Clauses\AccessWhereClause::$owner_guid_column = 'owner_guid'

Definition at line 14 of file AccessWhereClause.php.

bool Elgg\Database\Clauses\AccessWhereClause::$use_deleted_clause = null

Definition at line 26 of file AccessWhereClause.php.

bool Elgg\Database\Clauses\AccessWhereClause::$use_enabled_clause = null

Definition at line 24 of file AccessWhereClause.php.

int Elgg\Database\Clauses\AccessWhereClause::$viewer_guid = null

Definition at line 28 of file AccessWhereClause.php.


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