PHP Class ZF\Apigility\Admin\Model\AuthorizationEntity

Inheritance: implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate
Show file Open project: zfcampus/zf-apigility-admin Class Usage Examples

Protected Properties

Property Type Description
$allowedRestTypes
$defaultPrivileges
$servicePrivileges

Public Methods

Method Description
__construct ( array $services = [] )
addRestService ( $serviceName, $entityOrCollection, array $privileges = null )
addRpcService ( $serviceName, $action, array $privileges = null )
count ( )
exchangeArray ( array $services )
get ( $serviceName )
getArrayCopy ( )
getIterator ( )
has ( $serviceName )

Protected Methods

Method Description
filterPrivileges ( array $privileges )

Method Details

__construct() public method

public __construct ( array $services = [] )
$services array

addRestService() public method

public addRestService ( $serviceName, $entityOrCollection, array $privileges = null )
$privileges array

addRpcService() public method

public addRpcService ( $serviceName, $action, array $privileges = null )
$privileges array

count() public method

public count ( )

exchangeArray() public method

public exchangeArray ( array $services )
$services array

filterPrivileges() protected method

protected filterPrivileges ( array $privileges )
$privileges array

get() public method

public get ( $serviceName )

getArrayCopy() public method

public getArrayCopy ( )

getIterator() public method

public getIterator ( )

has() public method

public has ( $serviceName )

Property Details

$allowedRestTypes protected property

protected $allowedRestTypes

$defaultPrivileges protected property

protected $defaultPrivileges

$servicePrivileges protected property

protected $servicePrivileges