PHP 클래스 Imbo\Resource\AccessRules

저자: Kristoffer Brabrand ([email protected])
상속: implements Imbo\Resource\ResourceInterface
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
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 ( )

비공개 메소드들

메소드 설명
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.

메소드 상세

addRules() 공개 메소드

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

getAllowedMethods() 공개 메소드

public getAllowedMethods ( )

getRules() 공개 메소드

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

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )