Method | Description | |
---|---|---|
__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. |
public getAuthAssignments ( mixed $user_id ) : mixed | ||
$user_id | mixed | |
return | mixed |
public registerRuleset ( string $namespace, object $ruleset ) | ||
$namespace | string | Name of module |
$ruleset | object | Object on which the rule methods are defined |