PHP Class Imbo\Resource\AccessRules

Author: Kristoffer Brabrand ([email protected])
Inheritance: implements Imbo\Resource\ResourceInterface
Afficher le fichier Open project: imbo/imbo

Méthodes publiques

Méthode Description
addRules ( Imbo\EventManager\EventInterface $event ) Add access rules for the specified public key
getAllowedMethods ( )
getRules ( Imbo\EventManager\EventInterface $event ) Get access rules for the specified public key
getSubscribedEvents ( )

Private Methods

Méthode Description
isStringArray ( $values ) : boolean Checks if this is an array containing only strings
validateRule ( Imbo\EventManager\EventInterface $event, array $rule ) Validate the contents of an access rule.

Method Details

addRules() public méthode

Add access rules for the specified public key
public addRules ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getAllowedMethods() public méthode

public getAllowedMethods ( )

getRules() public méthode

Get access rules for the specified public key
public getRules ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )