Difference between revisions of "JAccess"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
Line 68: | Line 68: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JAccess]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JAccess]]</noinclude> |
Revision as of 13:27, 29 August 2012
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JAccess[edit]
Description[edit]
Template:Description:JAccess [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | check | Method to check if a user is authorised to perform an action, optionally on an asset. |
public static | checkGroup | Method to check if a group is authorised to perform an action, optionally on an asset. |
public static | getActions | Method to return a list of actions for which permissions can be set given a component and section. |
public static | getAssetRules | Method to return the object for an asset. |
public static | getAuthorisedViewLevels | Method to return a list of view levels for which the user is authorised. |
public static | getGroupsByUser | Method to return a list of user groups mapped to a user. |
public static | getUsersByGroup | Method to return a list of user Ids contained in a Group. |
protected static | 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). |
- Defined in libraries/joomla/access/access.php
Importing[edit]
jimport( 'joomla.access.access' );
See also[edit]
- JAccess source code on BitBucket
- Subpackage Access
- Other versions of JAccess
Template:SeeAlso:JAccess [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />