|
Elgg
Version 6.3
|
Builds queries to restrict access. 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... | |||||||
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... | |
Builds queries to restrict access.
Definition at line 10 of file AccessWhereClause.php.
| Elgg\Database\Clauses\AccessWhereClause::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 33 of file AccessWhereClause.php.
| 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.