Sections

Abstract class Phalcon\Acl\Adapter

implements Phalcon\Acl\AdapterInterface, Phalcon\Events\EventsAwareInterface

Source on GitHub

Adapter for Phalcon\Acl adapters

Methods

public getActiveAccess()

Active access which the list is checking if some role can access it


public getActiveRole()

Role which the list is checking if it’s allowed to certain component/access


public getActiveComponent()

Component which the list is checking if some role can access it


```php
public getDefaultAction()

Повертає рівень доступу ACL за замовчуванням


public getEventsManager()

Returns the internal event manager
<hr/>
```php
public setDefaultAction(mixed $defaultAccess)

Sets the default access level (Phalcon\Acl::ALLOW or Phalcon\Acl::DENY)


public setEventsManager([Phalcon\Events\ManagerInterface](Phalcon_Events_ManagerInterface) $eventsManager)

Набори менеджера з організації заходів


abstract public addInherit(mixed $roleName, mixed $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public addRole(mixed $role, [mixed $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public addComponent(mixed $componentObject, mixed $accessList) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public addComponentAccess(mixed $componentName, mixed $accessList) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public allow(mixed $roleName, mixed $componentName, mixed $access, [mixed $func]) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public deny(mixed $roleName, mixed $componentName, mixed $access, [mixed $func]) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public dropComponentAccess(mixed $componentName, mixed $accessList) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public getNoArgumentsDefaultAction() inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public getRoles() inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public getComponents() inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public isAllowed(mixed $roleName, mixed $componentName, mixed $access, [array $parameters]) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public isRole(mixed $roleName) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public isComponent(mixed $componentName) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)

abstract public setNoArgumentsDefaultAction(mixed $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](Phalcon_Acl_AdapterInterface)