Manifest
Table of Contents
Constants
- ACCESS_TYPE_EXPORT = 'export'
- ACCESS_TYPE_IMPORT = 'import'
- ON_REST_APP_CONFIGURATION_GET_MANIFEST = 'OnRestApplicationConfigurationGetManifest'
- ON_REST_APP_CONFIGURATION_GET_MANIFEST_SETTING = 'OnRestApplicationConfigurationGetManifestSetting'
- PROPERTY_REST_IMPORT_AVAILABLE = 'REST_IMPORT_AVAILABLE'
Methods
- callEventInit() : mixed
- checkAccess() : array<string|int, mixed>
- Check user access to action in manifest
- get() : mixed
- getList() : mixed
- isEntityAvailable() : bool
- check Event manifest[USES] intersect current entity[USES]
- isRestImportAvailable() : bool
Constants
ACCESS_TYPE_EXPORT
public
mixed
ACCESS_TYPE_EXPORT
= 'export'
ACCESS_TYPE_IMPORT
public
mixed
ACCESS_TYPE_IMPORT
= 'import'
ON_REST_APP_CONFIGURATION_GET_MANIFEST
public
mixed
ON_REST_APP_CONFIGURATION_GET_MANIFEST
= 'OnRestApplicationConfigurationGetManifest'
ON_REST_APP_CONFIGURATION_GET_MANIFEST_SETTING
public
mixed
ON_REST_APP_CONFIGURATION_GET_MANIFEST_SETTING
= 'OnRestApplicationConfigurationGetManifestSetting'
PROPERTY_REST_IMPORT_AVAILABLE
public
mixed
PROPERTY_REST_IMPORT_AVAILABLE
= 'REST_IMPORT_AVAILABLE'
Methods
callEventInit()
public
static callEventInit(mixed $code[, mixed $params = [] ]) : mixed
Parameters
- $code : mixed
- $params : mixed = []
checkAccess()
Check user access to action in manifest
public
static checkAccess(mixed $type[, mixed $manifestCode = '' ]) : array<string|int, mixed>
Parameters
- $type : mixed
-
string static::ACCESS_TYPE_IMPORT | static::ACCESS_TYPE_EXPORT
- $manifestCode : mixed = ''
-
mixed
Return values
array<string|int, mixed>get()
public
static get(mixed $code) : mixed
Parameters
- $code : mixed
getList()
public
static getList() : mixed
isEntityAvailable()
check Event manifest[USES] intersect current entity[USES]
public
static isEntityAvailable(string $entityCode, array<string|int, mixed> $option[, array<string|int, mixed> $uses = [] ]) : bool
Parameters
- $entityCode : string
- $option : array<string|int, mixed>
-
all event parameters
- $uses : array<string|int, mixed> = []
-
all access uses in current entity
Return values
boolisRestImportAvailable()
public
static isRestImportAvailable(string $entityCode) : bool
Parameters
- $entityCode : string