|
static | cacheOperation (array &$config, bool $silent, $operation, $message=null) |
|
Definition at line 19 of file AclManagerInit.php.
◆ cacheOperation()
static cacheOperation |
( |
array & |
$config, |
|
|
bool |
$silent, |
|
|
|
$operation, |
|
|
|
$message = null |
|
) |
| |
|
staticprivate |
◆ checkCache()
static checkCache |
( |
array & |
$config | ) |
|
|
static |
◆ filterProviders()
static filterProviders |
( |
string |
$providerClass | ) |
|
|
static |
◆ getModelClassesSwap()
static getModelClassesSwap |
( |
| ) |
|
|
static |
◆ getProvider()
static getProvider |
( |
string |
$providerClass | ) |
|
|
static |
◆ initCache()
static initCache |
( |
array & |
$config, |
|
|
bool |
$silent = false |
|
) |
| |
|
static |
Initialize acls cache with controllers annotations.
Do not execute at runtime
- Parameters
-
- Exceptions
-
Ubiquity\exceptions\AclException
Definition at line 136 of file AclManagerInit.php.
◆ initFromProviders()
static initFromProviders |
( |
?array |
$providers = [] | ) |
|
|
static |
Load acls, roles, resources and permissions from providers.
- Parameters
-
AclProviderInterface[] | $providers | |
Definition at line 50 of file AclManagerInit.php.
◆ initializeDAOProvider()
static initializeDAOProvider |
( |
array & |
$config, |
|
|
string |
$dbOffset = 'default' , |
|
|
array |
$classes = [] |
|
) |
| |
|
static |
Initializes AclDAOProvider and creates ACL tables in the specified dbOffset.
Do not use in production
- Parameters
-
array | $config | |
string | $dbOffset | |
array | $classes | associative array['acl'=>'','role'=>'','resource'=>'','permission'=>''] |
- Returns
- AclDAOProvider
- Exceptions
-
Definition at line 123 of file AclManagerInit.php.
◆ isStarted()
Check whether the Acl service is started.
- Returns
- bool
Definition at line 41 of file AclManagerInit.php.
◆ registerAnnotations()
static registerAnnotations |
( |
| ) |
|
|
staticprotected |
◆ reloadFromSelectedProviders()
static reloadFromSelectedProviders |
( |
|
$selectedProviders = '*' | ) |
|
|
static |
◆ removefilterProviders()
static removefilterProviders |
( |
| ) |
|
|
static |
◆ start()
◆ startWithCacheProvider()
static startWithCacheProvider |
( |
| ) |
|
|
static |
Start the Acls with AclCacheProvider (for attributes or annotations).
Definition at line 31 of file AclManagerInit.php.
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity-acl/src/Ubiquity/security/acl/traits/AclManagerInit.php