ControllerPermissions
in package
Description of ControllerPermissionsTest
Tags
Table of Contents
- $accessMode : int
- $allowAccess : bool
- $allowDelete : bool
- $allowExport : bool
- $allowImport : bool
- $allowUpdate : bool
- $onlyOwnerData : bool
- __construct() : mixed
- set() : void
- setParams() : void
Properties
$accessMode
public
int
$accessMode
= 1
$allowAccess
public
bool
$allowAccess
= false
$allowDelete
public
bool
$allowDelete
= false
$allowExport
public
bool
$allowExport
= false
$allowImport
public
bool
$allowImport
= false
$allowUpdate
public
bool
$allowUpdate
= false
$onlyOwnerData
public
bool
$onlyOwnerData
= false
Methods
__construct()
public
__construct([User|null $user = null ][, string $pageName = null ]) : mixed
Parameters
- $user : User|null = null
- $pageName : string = null
Return values
mixed —set()
public
set(bool $access, int $accessMode, bool $delete, bool $update[, bool $onlyOwner = false ]) : void
Parameters
- $access : bool
- $accessMode : int
- $delete : bool
- $update : bool
- $onlyOwner : bool = false
Return values
void —setParams()
public
setParams(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>