dbAclDriver
in package
implements
jIAclDriver
driver for jAcl based on a database.
Tags
Interfaces, Classes and Traits
- jIAclDriver
- interface for jAcl drivers.
Table of Contents
- $acl : mixed
- $aclres : mixed
- __construct() : mixed
- clearCache() : mixed
- clear right cache.
- getRight() : array<string|int, mixed>
- return the value of the right on the given subject (and on the optional resource).
Properties
$acl
protected
static mixed
$acl
= array()
Tags
$aclres
protected
static mixed
$aclres
= array()
Tags
Methods
__construct()
public
__construct() : mixed
Tags
Return values
mixed —clearCache()
clear right cache.
public
clearCache() : mixed
Tags
Return values
mixed —getRight()
return the value 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