Method | Description | |
---|---|---|
getAccess ( string $controller, string $action ) : array | Get access | |
getAcl ( Zend_Acl_Role_Interface $role ) : Zend_Acl | Get acl for role | |
getActions ( string $resource = '' ) : array | Get resource actions | |
getResources ( ) : array | Get application resources | |
init ( ) | Init acl | |
isAllowed ( Zend_Acl_Role_Interface $role, string $resource, string $action ) : boolean | Check access | |
setStorage ( Resource\Acl\StorageInterface $storage ) : Resource_Acl | Set acl storage |
Method | Description | |
---|---|---|
addRules ( Zend_Acl $acl, Zend_Acl_Role_Interface $role ) : void | Add role rules | |
formatName ( string $name, string $module = '' ) : string | Format name for resource/action | |
getAnnotationReader ( ) : |
Get annotation reader | |
getStorage ( ) : Resource\Acl\StorageInterface | Get acl storage | |
scan ( ) : void | Scan for resources/actions |
public getAcl ( Zend_Acl_Role_Interface $role ) : Zend_Acl | ||
$role | Zend_Acl_Role_Interface | |
return | Zend_Acl |
public getActions ( string $resource = '' ) : array | ||
$resource | string | |
return | array |
public setStorage ( Resource\Acl\StorageInterface $storage ) : Resource_Acl | ||
$storage | Resource\Acl\StorageInterface | |
return | Resource_Acl |