Documentation

內容目录

上一个主题

< Abstract class Phalcon\Acl

下一个主题

Class Phalcon\Acl\Adapter\Memory >

本页

Class Phalcon\Acl\Adapter

Adapter for Phalcon\Acl adapters

Methods

public getActiveRole ()

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

public getActiveResource ()

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

public getActiveAccess ()

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

public setEventsManager (unknown $eventsManager)

Sets the events manager

public Phalcon\Events\ManagerInterface getEventsManager ()

Returns the internal event manager

public setDefaultAction (unknown $defaultAccess)

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

public int getDefaultAction ()

Returns the default ACL access level

Follow along: