jIAclDriver
in
interface for jAcl drivers.
Tags
Table of Contents
- clearCache() : mixed
- clear some cached data, it a cache exists in the driver.
- getRight() : array<string|int, mixed>
- return the possible values of the right on the given subject (and on the optional resource).
Methods
clearCache()
clear some cached data, it a cache exists in the driver.
public
clearCache() : mixed
.
Tags
Return values
mixed —getRight()
return the possible values of the right on the given subject (and on the optional resource).
public
getRight(string $subject[, string $resource = null ]) : array<string|int, mixed>
Parameters
- $subject : string
-
the key of the subject
- $resource : string = null
-
the id of a resource
Tags
Return values
array<string|int, mixed> —list of values corresponding to the right