SpecialListGroupRights Class Reference
[SpecialPage]

This special page lists all defined user groups and the associated rights. More...

Inherits SpecialPage.

List of all members.

Public Member Functions

 __construct ()
 Constructor.
 execute ($par)
 Show the special page.

Public Attributes

 $skin

Static Private Member Functions

static formatPermissions ($permissions, $add, $remove)
 Create a user-readable list of permissions from the given array.


Detailed Description

This special page lists all defined user groups and the associated rights.

See also $wgGroupPermissions.

Author:
Petr Kadlec <mormegil@centrum.cz>

Definition at line 10 of file SpecialListgrouprights.php.


Constructor & Destructor Documentation

SpecialListGroupRights::__construct (  ) 

Constructor.

Definition at line 17 of file SpecialListgrouprights.php.

References $wgUser.


Member Function Documentation

SpecialListGroupRights::execute ( par  ) 

static SpecialListGroupRights::formatPermissions ( permissions,
add,
remove 
) [static, private]

Create a user-readable list of permissions from the given array.

Parameters:
$permissions Array of permission => bool (from $wgGroupPermissions items)
Returns:
string List of all granted permissions, separated by comma separator

Definition at line 101 of file SpecialListgrouprights.php.

References $wgLang, User::getRightDescription(), sort, and wfMsgExt().


Member Data Documentation

SpecialListGroupRights::$skin

Definition at line 12 of file SpecialListgrouprights.php.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:47 2009 for MediaWiki by  doxygen 1.5.9