JAccess/11.1/ja
出典: Joomla! ドキュメンテーション
Description
Methods
| 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
jimport( 'joomla.access.access' );
See also
JAccess source code on BitBucket
Subpackage Access
User contributed notes
<CodeExamplesForm />
%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).
