[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialListgrouprights.php (summary)

Implements Special:Listgrouprights This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 318 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SpecialListGroupRights:: (5 methods):
  __construct()
  execute()
  outputNamespaceProtectionInfo()
  formatPermissions()
  getGroupName()


Class: SpecialListGroupRights  - X-Ref

This special page lists all defined user groups and the associated rights.
See also @ref $wgGroupPermissions.

__construct()   X-Ref
No description

execute( $par )   X-Ref
Show the special page

param: string|null $par

outputNamespaceProtectionInfo()   X-Ref
No description

formatPermissions( $permissions, $revoke, $add, $remove, $addSelf, $removeSelf )   X-Ref
Create a user-readable list of permissions from the given array.

param: array $permissions Array of permission => bool (from $wgGroupPermissions items)
param: array $revoke Array of permission => bool (from $wgRevokePermissions items)
param: array $add Array of groups this group is allowed to add or true
param: array $remove Array of groups this group is allowed to remove or true
param: array $addSelf Array of groups this group is allowed to add to self or true
param: array $removeSelf Array of group this group is allowed to remove from self or true
return: string List of all granted permissions, separated by comma separator

getGroupName()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1