Documentation

目次

前のトピックへ

< Abstract class Phalcon\Acl

次のトピックへ

Class Phalcon\Acl\Adapter\Memory >

このページ

Abstract class Phalcon\Acl\Adapter

implements Phalcon\Events\EventsAwareInterface

Adapter for Phalcon\Acl adapters

Methods

public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager)

Sets the events manager

public Phalcon\Events\ManagerInterface getEventsManager ()

Returns the internal event manager

public setDefaultAction (int $defaultAccess)

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

public int getDefaultAction ()

Returns the default ACL access level

public string getActiveRole ()

Returns the role which the list is checking if it’s allowed to certain resource/access

public string getActiveResource ()

Returns the resource which the list is checking if some role can access it

public string getActiveAccess ()

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