API17:JAccess::getAuthorisedViewLevels
From Joomla! Documentation
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.
JAccess::getAuthorisedViewLevels
Description
Method to return a list of view levels for which the user is authorised.
Description:JAccess::getAuthorisedViewLevels [Edit Descripton]
Since
Synopsis
public static JAccess::getAuthorisedViewLevels ($userId)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $userId | integer | Id of the user for which to get the list of authorised view levels. |
Returns
array List of view levels for which the user is authorised.
Defined in
libraries/joomla/access/access.php (line 300)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JAccess::getAuthorisedViewLevels
Examples
<CodeExamplesForm />
