ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Interface Phalcon\\Acl\\AdapterInterface # Interface **Phalcon\\Acl\\AdapterInterface** ### Methods abstract public **setDefaultAction** (*unknown* $defaultAccess) ... abstract public **getDefaultAction** () ... abstract public **addRole** (*unknown* $role, \[*unknown* $accessInherits\]) ... abstract public **addInherit** (*unknown* $roleName, *unknown* $roleToInherit) ... abstract public **isRole** (*unknown* $roleName) ... abstract public **isResource** (*unknown* $resourceName) ... abstract public **addResource** (*unknown* $resourceObject, *unknown* $accessList) ... abstract public **addResourceAccess** (*unknown* $resourceName, *unknown* $accessList) ... abstract public **dropResourceAccess** (*unknown* $resourceName, *unknown* $accessList) ... abstract public **allow** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) ... abstract public **deny** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) ... abstract public **isAllowed** (*unknown* $roleName, *unknown* $resourceName, *unknown* $access) ... abstract public **getActiveRole** () ... abstract public **getActiveResource** () ... abstract public **getActiveAccess** () ... abstract public **getRoles** () ... abstract public **getResources** () ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Acl\ResourceInterface") | - [上一页](# "Class Phalcon\Version") | - [API Indice](#) »