Actions

API17

JAccess

From Joomla! Documentation

Revision as of 17:48, 23 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JAccess

Defined in

libraries/joomla/access/access.php

Subpackage

Access

Extends

Extended by

Methods

Method name Description
check Method to check if a user is authorised to perform an action, optionally on an asset.
checkGroup Method to check if a group is authorised to perform an action, optionally on an asset.
getActions Method to return a list of actions for which permissions can be set given a component and section.
getAssetRules Method to return the object for an asset.
getAuthorisedViewLevels Method to return a list of view levels for which the user is authorised.
getGroupsByUser Method to return a list of user groups mapped to a user.
getUsersByGroup Method to return a list of user Ids contained in a Group.
getGroupPath 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).

Importing

jimport( 'joomla.access.access' );

See also

SeeAlso:JAccess [Edit See Also]

Examples

<CodeExamplesForm />