Static Public Member Functions | |
static | selectUserForm ($val=null, $error=null) |
static | existingRestrictions ($restrictions) |
static | pageRestrictionForm ($uid, $user, $oldRestrictions) |
static | printSuccessError ($success, $error) |
static | doPageRestriction ($uid, $user) |
static | namespaceRestrictionForm ($uid, $user, $oldRestrictions) |
static | doNamespaceRestriction ($uid, $user) |
Definition at line 37 of file SpecialRestrictUser.php.
static RestrictUserForm::doNamespaceRestriction | ( | $ | uid, | |
$ | user | |||
) | [static] |
Definition at line 172 of file SpecialRestrictUser.php.
References $user, $wgRequest, $wgUser, Block::infinity(), Title::makeTitle(), and wfTimestampNow().
Referenced by namespaceRestrictionForm().
static RestrictUserForm::doPageRestriction | ( | $ | uid, | |
$ | user | |||
) | [static] |
Definition at line 113 of file SpecialRestrictUser.php.
References $user, $wgRequest, $wgUser, Block::infinity(), Title::makeTitle(), Title::newFromText(), and wfTimestampNow().
Referenced by pageRestrictionForm().
static RestrictUserForm::existingRestrictions | ( | $ | restrictions | ) | [static] |
Definition at line 51 of file SpecialRestrictUser.php.
References $s, Xml::fieldset(), UserRestrictionsPager::formatRestriction(), and wfMsg().
Referenced by wfSpecialRestrictUser().
static RestrictUserForm::namespaceRestrictionForm | ( | $ | uid, | |
$ | user, | |||
$ | oldRestrictions | |||
) | [static] |
Definition at line 132 of file SpecialRestrictUser.php.
References $error, $ns, $success, $user, $wgContLang, $wgOut, $wgRequest, $wgTitle, $wgUser, Xml::buildForm(), doNamespaceRestriction(), Xml::fieldset(), Xml::hidden(), Xml::input(), Xml::namespaceSelector(), Xml::openElement(), printSuccessError(), wfMsg(), and wfMsgExt().
Referenced by wfSpecialRestrictUser().
static RestrictUserForm::pageRestrictionForm | ( | $ | uid, | |
$ | user, | |||
$ | oldRestrictions | |||
) | [static] |
Definition at line 61 of file SpecialRestrictUser.php.
References $error, $success, $title, $user, $wgOut, $wgRequest, $wgTitle, $wgUser, Xml::buildForm(), doPageRestriction(), Xml::fieldset(), Xml::hidden(), Xml::input(), Title::newFromText(), Xml::openElement(), printSuccessError(), and wfMsg().
Referenced by wfSpecialRestrictUser().
static RestrictUserForm::printSuccessError | ( | $ | success, | |
$ | error | |||
) | [static] |
Definition at line 105 of file SpecialRestrictUser.php.
References $error, $success, and $wgOut.
Referenced by namespaceRestrictionForm(), and pageRestrictionForm().
static RestrictUserForm::selectUserForm | ( | $ | val = null , |
|
$ | error = null | |||
) | [static] |
Definition at line 38 of file SpecialRestrictUser.php.
References $action, $error, $s, $wgScript, $wgTitle, Xml::buildForm(), Xml::fieldset(), Xml::hidden(), Xml::input(), and wfMsg().
Referenced by wfSpecialRestrictUser().