Documentation

PrivilegeQuery
in package

Privilege File basic class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

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
$query : Query
$moduleName : string
$user : int|User = false
$relatedRecord : int = null
Return values
void

setPermissionInterpreter()

Sets interpreter.

public static setPermissionInterpreter(string $className) : void
Parameters
$className : string
Return values
void

        

Search results