Template extends Access
FinalYes
Table of Contents
Methods
- __call() : mixed
- addDataBaseAccessCheck() : mixed
- Alters query parameters to check access rights on database side
- allow() : mixed
- canCreate() : mixed
- canDelete() : mixed
- canFetchData() : mixed
- canRead() : mixed
- canUpdate() : mixed
- canUpdateRights() : mixed
- deny() : mixed
- disable() : mixed
- Allows every and each action
- enable() : mixed
- Restores controller`s normal behaviour
- getClass() : mixed
- grantAccessLevel() : Result
- Grant access level to a specified template for a specified group, and then saves the template
- isEnabled() : mixed
- isImmutable() : mixed
- revokeAccessLevel() : mixed
- revokeAll() : mixed
- setImmutable() : mixed
- Normally you SHOULD NOT be able to modify default access controller behaviour, so immutable flag is at our rescue
- spawn() : Access
Methods
__call()
public
__call(mixed $name, array<string|int, mixed> $arguments) : mixed
Parameters
- $name : mixed
- $arguments : array<string|int, mixed>
addDataBaseAccessCheck()
Alters query parameters to check access rights on database side
public
addDataBaseAccessCheck(mixed $query[, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $query : mixed
- $parameters : array<string|int, mixed> = array()
allow()
public
allow(mixed $action) : mixed
Parameters
- $action : mixed
canCreate()
public
canCreate(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
canDelete()
public
canDelete(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
canFetchData()
public
canFetchData(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
canRead()
public
canRead(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
canUpdate()
public
canUpdate(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
canUpdateRights()
public
canUpdateRights(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
- $item : mixed
- $userId : mixed = 0
deny()
public
deny(mixed $action) : mixed
Parameters
- $action : mixed
disable()
Allows every and each action
public
disable() : mixed
enable()
Restores controller`s normal behaviour
public
enable() : mixed
getClass()
public
static getClass() : mixed
grantAccessLevel()
Grant access level to a specified template for a specified group, and then saves the template
public
static grantAccessLevel(mixed $templateId, mixed $groupCode, mixed $level[, array<string|int, mixed> $parameters = array() ]) : Result
Parameters
- $templateId : mixed
- $groupCode : mixed
- $level : mixed
- $parameters : array<string|int, mixed> = array()
Tags
Return values
ResultisEnabled()
public
isEnabled() : mixed
isImmutable()
public
isImmutable() : mixed
revokeAccessLevel()
public
static revokeAccessLevel(mixed $templateId, mixed $userId, mixed $level) : mixed
Parameters
- $templateId : mixed
- $userId : mixed
- $level : mixed
revokeAll()
public
static revokeAll(mixed $templateId[, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $templateId : mixed
- $parameters : array<string|int, mixed> = array()
setImmutable()
Normally you SHOULD NOT be able to modify default access controller behaviour, so immutable flag is at our rescue
public
setImmutable() : mixed
spawn()
public
spawn() : Access