Difference between revisions of "JAccess::getGroupPath"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
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). | 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). | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | protected static | + | protected static function getGroupPath ($groupId) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed True if allowed, false for an explicit deny, null for an implicit deny. | |
− | mixed True if allowed, false for an explicit deny, null for an implicit deny. | + | * '''Defined''' on line 111 of libraries/joomla/access/access.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/access/access.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JAccess::getGroupPath source code''' on [[jplatform:access/access.php#cl-103|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JAccess|JAccess]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Access|Access]] | |
− | * | + | * [[API17:JAccess::getGroupPath|Other versions of JAccess::getGroupPath]] |
− | * [[JAccess::getGroupPath|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAccess::getGroupPath | category=JAccess::getGroupPath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:18, 24 March 2017
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::getGroupPath[edit]
Description[edit]
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).
protected static function getGroupPath ($groupId)
Parameter | Type | Default | Description |
---|---|---|---|
$groupId | mixed | An integer or array of integers representing the identities to check. |
- Returns mixed True if allowed, false for an explicit deny, null for an implicit deny.
- Defined on line 111 of libraries/joomla/access/access.php
- Since
See also[edit]
- JAccess::getGroupPath source code on BitBucket
- Class JAccess
- Subpackage Access
- Other versions of JAccess::getGroupPath
User contributed notes[edit]
Code Examples[edit]