Class jAcl2

Description

Main class to query the acl system, and to know value of a right

you should call this class (all method are static) when you want to know if the current user have a right

Located in /acl/jAcl2.class.php (line 23)


	
			
Method Summary
static boolean check (string $subject, [string $resource = null])
static void clearCache ()
Methods
static check (line 57)

call this method to know if the current user has the right with the given value

  • return: true if yes
  • access: public
static boolean check (string $subject, [string $resource = null])
  • string $subject: the key of the subject to check
  • string $resource: the id of a resource
static clearCache (line 66)

clear right cache

  • since: 1.0b2
  • access: public
static void clearCache ()
static _getDriver (line 34)

load the acl2 driver

  • access: protected
static jIAcl2Driver _getDriver ()

Documentation generated on Thu, 22 Mar 2012 22:13:51 +0100 by phpDocumentor 1.4.3