Elgg  Version 3.0
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)
 {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

 $access_column = 'access_id'
 
 $owner_guid_column = 'owner_guid'
 
 $guid_column = 'guid'
 
 $enabled_column = 'enabled'
 
 $ignore_access
 
 $use_enabled_clause
 
 $viewer_guid
 
- Public Attributes inherited from Elgg\Database\Clauses\WhereClause
 $expr
 

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 
)

{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 49 of file AccessWhereClause.php.

Member Data Documentation

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

Definition at line 15 of file AccessWhereClause.php.

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

Definition at line 29 of file AccessWhereClause.php.

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

Definition at line 24 of file AccessWhereClause.php.

Elgg\Database\Clauses\AccessWhereClause::$ignore_access

Definition at line 34 of file AccessWhereClause.php.

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

Definition at line 19 of file AccessWhereClause.php.

Elgg\Database\Clauses\AccessWhereClause::$use_enabled_clause

Definition at line 39 of file AccessWhereClause.php.

Elgg\Database\Clauses\AccessWhereClause::$viewer_guid

Definition at line 44 of file AccessWhereClause.php.


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