Jelix 1.7.18

jIAcl2Driver
in

interface for jAcl2 drivers.

Tags
subpackage

acl

Table of Contents

clearCache()  : mixed
Clear some cached data, it a cache exists in the driver.
getRight()  : bool
Says if there is a right on the given right (and on the optional resource) for the current user.

Methods

clearCache()

Clear some cached data, it a cache exists in the driver.

public clearCache() : mixed

.

Return values
mixed

getRight()

Says if there is a right on the given right (and on the optional resource) for the current user.

public getRight(string $right[, string $resource = null ]) : bool
Parameters
$right : string

the key of the right

$resource : string = null

the id of a resource

Return values
bool

true if the right exists

Search results