API17:JAccess::getUsersByGroup
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JAccess::getUsersByGroup|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JAccess::getUsersByGroup|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getUsersByGroup ( |
| + | $groupId | ||
| + | $recursive=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' array | |
| − | array | + | * '''Defined''' on line 267 of libraries/joomla/access/access.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/access/access.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JAccess::getUsersByGroup source code''' on [[jplatform:access/access.php#cl-259|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JAccess/11.1|JAccess]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Access/11.1|Access]] | ||
| + | * [[JAccess::getUsersByGroup|Other versions of JAccess::getUsersByGroup]] | ||
| + | {{SeeAlso:JAccess::getUsersByGroup}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JAccess::getUsersByGroup|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JAccess::getUsersByGroup|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JAccess]][[Category:JAccess::getUsersByGroup]]</noinclude> | <noinclude>[[Category:JAccess]][[Category:JAccess::getUsersByGroup]]</noinclude> | ||
Revision as of 20:07, 27 April 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::getUsersByGroup
Description
Method to return a list of user Ids contained in a Group.
Description:JAccess::getUsersByGroup [Edit Descripton]
public static function getUsersByGroup ( $groupId $recursive=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $groupId | int | The group Id | |
| $recursive | boolean | false | Recursively include all child groups (optional) |
See also
-
JAccess::getUsersByGroup source code on BitBucket
-
Class JAccess
-
Subpackage Access
- Other versions of JAccess::getUsersByGroup
SeeAlso:JAccess::getUsersByGroup [Edit See Also]
User contributed notes
<CodeExamplesForm />
