PrivilegeQuery
in package
Privilege File basic class.
Tags
Table of Contents
- $interpreter : string
- Interpreter for privilege.
- getConditions() : void
- Undocumented function.
- getPrivilegeQuery() : void
- Undocumented function.
- setPermissionInterpreter() : void
- Sets interpreter.
Properties
$interpreter
Interpreter for privilege.
private
static string
$interpreter
Methods
getConditions()
Undocumented function.
public
static getConditions(Query $query, string $moduleName[, int $user = false ][, int $relatedRecord = null ]) : void
Parameters
- $query : Query
- $moduleName : string
- $user : int = false
- $relatedRecord : int = null
Return values
void —getPrivilegeQuery()
Undocumented function.
public
static getPrivilegeQuery(Query $query, string $moduleName[, int|User $user = false ][, int $relatedRecord = null ]) : void
Parameters
Return values
void —setPermissionInterpreter()
Sets interpreter.
public
static setPermissionInterpreter(string $className) : void
Parameters
- $className : string