Jelix 1.8.14-pre

jIAcl2Driver

interface for jAcl2 drivers.

Tags
subpackage

jacl2

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

.

Tags
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

Tags
Return values
bool

true if the right exists

Search results