Inherits SpecialPage.
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. |
See also $wgGroupPermissions.
Definition at line 10 of file SpecialListgrouprights.php.
SpecialListGroupRights::__construct | ( | ) |
SpecialListGroupRights::execute | ( | $ | par | ) |
Show the special page.
Reimplemented from SpecialPage.
Definition at line 26 of file SpecialListgrouprights.php.
References $msg, $wgAddGroups, $wgGroupPermissions, $wgImplicitGroups, $wgMessageCache, $wgOut, $wgRemoveGroups, Xml::closeElement(), Xml::element(), MWNamespace::getCanonicalName(), SpecialPage::getTitleFor(), Xml::openElement(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), wfEmptyMsg(), wfMsg(), wfMsgForContent(), and wfMsgHtml().
static SpecialListGroupRights::formatPermissions | ( | $ | permissions, | |
$ | add, | |||
$ | remove | |||
) | [static, private] |
Create a user-readable list of permissions from the given array.
$permissions | Array of permission => bool (from $wgGroupPermissions items) |
Definition at line 101 of file SpecialListgrouprights.php.
References $wgLang, User::getRightDescription(), sort, and wfMsgExt().
SpecialListGroupRights::$skin |
Definition at line 12 of file SpecialListgrouprights.php.