PHP Class Newscoop\Acl\Storage

Inheritance: implements Resource\Acl\StorageInterface
Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$doctrine Newscoop\Doctrine\Registry

Public Methods

Method Description
__construct ( $doctrine )
getResources ( ) : array Get dynamic resources
getRules ( Zend_Acl_Role_Interface $role ) : array Get rules for role

Method Details

__construct() public method

public __construct ( $doctrine )

getResources() public method

Get dynamic resources
public getResources ( ) : array
return array

getRules() public method

Get rules for role
public getRules ( Zend_Acl_Role_Interface $role ) : array
$role Zend_Acl_Role_Interface
return array

Property Details

$doctrine protected property

protected Registry,Newscoop\Doctrine $doctrine
return Newscoop\Doctrine\Registry