ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Abstract class Phalcon\\Acl\\Adapter # Abstract class **Phalcon\\Acl\\Adapter** *implements*[*Phalcon\\Acl\\AdapterInterface*](#), [*Phalcon\\Events\\EventsAwareInterface*](#) 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 **getEventsManager** () Returns the internal event manager public **setDefaultAction** (*unknown* $defaultAccess) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) public **getDefaultAction** () Returns the default ACL access level abstract public **addRole** (*unknown* $role, \[*unknown* $accessInherits\]) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **addInherit** (*unknown* $roleName, *unknown* $roleToInherit) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **isRole** (*unknown* $roleName) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **isResource** (*unknown* $resourceName) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **addResource** (*unknown* $resourceObject, *unknown* $accessList) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **addResourceAccess** (*unknown* $resourceName, *unknown* $accessList) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **dropResourceAccess** (*unknown* $resourceName, *unknown* $accessList) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **allow** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **deny** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **isAllowed** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **getRoles** () inherited from Phalcon\\Acl\\AdapterInterface ... abstract public **getResources** () inherited from Phalcon\\Acl\\AdapterInterface ... | - [索引](# "总目录") - [下一页](# "Class Phalcon\Acl\Adapter\Memory") | - [上一页](# "Abstract class Phalcon\Acl") | - [API Indice](#) »