Module
in package
Web service module class.
Table of Contents
- $permittedModules : array<string|int, mixed>
- checkModuleAccess() : bool
- Check module access.
- getApiFieldPermission() : array<string|int, mixed>|false
- Returns info about field to permission for record.
- getPermittedModules() : array<string|int, mixed>
- Get permitted modules.
Properties
$permittedModules
protected
static array<string|int, mixed>
$permittedModules
Permitted modules
Methods
checkModuleAccess()
Check module access.
public
static checkModuleAccess(string $moduleName) : bool
Parameters
- $moduleName : string
Return values
bool —getApiFieldPermission()
Returns info about field to permission for record.
public
static getApiFieldPermission(string $moduleName, int $serverId) : array<string|int, mixed>|false
Parameters
- $moduleName : string
- $serverId : int
Return values
array<string|int, mixed>|false —getPermittedModules()
Get permitted modules.
public
static getPermittedModules() : array<string|int, mixed>