API17:JAccess::getAuthorisedViewLevels
From Joomla! Documentation
(Difference between revisions)
Mykaila298 (Talk | contribs) (→Description) |
m (Reverted edits by Mykaila298 (talk) to last revision by Doxiki2) |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JAccess::getAuthorisedViewLevels== | =={{JVer|11.1}} JAccess::getAuthorisedViewLevels== | ||
===Description=== | ===Description=== | ||
| − | Method to return a | + | Method to return a list of view levels for which the user is authorised. |
{{Description:JAccess::getAuthorisedViewLevels}} | {{Description:JAccess::getAuthorisedViewLevels}} | ||
| Line 29: | Line 29: | ||
* '''Referenced by''' | * '''Referenced by''' | ||
** [[JUser::getAuthorisedViewLevels/11.1|JUser::getAuthorisedViewLevels]] | ** [[JUser::getAuthorisedViewLevels/11.1|JUser::getAuthorisedViewLevels]] | ||
| − | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JAccess::getAuthorisedViewLevels source code''' on [[jplatform:access/access.php#cl-292|BitBucket]] | * {{JVer|11.1}} '''JAccess::getAuthorisedViewLevels source code''' on [[jplatform:access/access.php#cl-292|BitBucket]] | ||
Revision as of 11:15, 5 September 2011
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]
public static function 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 on line 300 of libraries/joomla/access/access.php
- Since
- Referenced by
See also
-
JAccess::getAuthorisedViewLevels source code on BitBucket
-
Class JAccess
-
Subpackage Access
- Other versions of JAccess::getAuthorisedViewLevels
SeeAlso:JAccess::getAuthorisedViewLevels [Edit See Also]
User contributed notes
<CodeExamplesForm />
