JAccessClass that handles all access authorisation routines.
Located in /libraries/joomla/access/access.php (line 21)
static boolean|array
getActionsFromData
(string|SimpleXMLElement $data, [string $xpath = "/access/section[@name='component']/"])
static boolean|array
getActionsFromFile
(string $file, [string $xpath = "/access/section[@name='component']/"])
static array
$assetRules
= array() (line 37)
Array of rules for the asset
static array
$groupsByUser
= array() (line 61)
Array of cached groups by user.
static array
$userGroupPaths
= array() (line 53)
Array of user group paths.
static array
$userGroups
= array() (line 45)
Array of user groups.
static array
$viewLevels
= array() (line 29)
Array of view levels
Method to check if a user is authorised to perform an action, optionally on an asset.
Method to check if a group is authorised to perform an action, optionally on an asset.
Method to return a list of actions for which permissions can be set given a component and section.
Method to return a list of actions from a string or from an xml for which permissions can be set.
Method to return a list of actions from a file for which permissions can be set.
Method to return the JAccessRules object for an asset. The returned object can optionally hold only the rules explicitly set for the asset or the summation of all inherited rules from parent assets and explicit rules.
Method to return a list of view levels for which the user is authorised.
Gets the parent groups that a leaf group belongs to in its branch back to the root of the tree (including the leaf group id).
Method to return a list of user groups mapped to a user. The returned list can optionally hold only the groups explicitly mapped to the user or all groups both explicitly mapped and inherited by the user.
Method to return a list of user Ids contained in a Group
Documentation generated on Tue, 19 Nov 2013 14:53:15 +0100 by phpDocumentor 1.4.3