PHP 클래스 AuthManager

파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) AuthManager constructor.
executeBizRule ( string $bizRule, array $params, mixed $data ) : boolean Override of parent to utlise the namespaced rulesets that have been defined.
getAuthAssignments ( mixed $user_id ) : mixed Caching wrapper on the auth assignments for a user.
registerRuleset ( string $namespace, object $ruleset ) Mechanism to store ruleset objects against a "namespace" for use when executing business rules.

메소드 상세

__construct() 공개 메소드

AuthManager constructor.
public __construct ( )

executeBizRule() 공개 메소드

Override of parent to utlise the namespaced rulesets that have been defined.
public executeBizRule ( string $bizRule, array $params, mixed $data ) : boolean
$bizRule string
$params array
$data mixed
리턴 boolean

getAuthAssignments() 공개 메소드

Caching wrapper on the auth assignments for a user.
public getAuthAssignments ( mixed $user_id ) : mixed
$user_id mixed
리턴 mixed

registerRuleset() 공개 메소드

Mechanism to store ruleset objects against a "namespace" for use when executing business rules.
public registerRuleset ( string $namespace, object $ruleset )
$namespace string Name of module
$ruleset object Object on which the rule methods are defined