Acl\AdapterInterface

Interface Phalcon\Acl\AdapterInterface

Phalcon\Acl\AdapterInterface initializer

Methods

abstract public setDefaultAction (int $defaultAccess)

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

abstract public int getDefaultAction ()

Returns the default ACL access level

abstract public boolean addRole (Phalcon\Acl\RoleInterface $role, [string $accessInherits])

Adds a role to the ACL list. Second parameter lets to inherit access data from other existing role

abstract public addIn