Inherits SpecialPage.
Public Member Functions | |
__construct () | |
execute ($par) | |
Main execution point. | |
error ($msg) | |
showForm () | |
pretty ($fields) | |
Protected Member Functions | |
attemptReset ($newpass, $retype) |
Definition at line 11 of file SpecialResetpass.php.
SpecialResetpass::__construct | ( | ) |
Definition at line 12 of file SpecialResetpass.php.
SpecialResetpass::attemptReset | ( | $ | newpass, | |
$ | retype | |||
) | [protected] |
PasswordError | when cannot set the new password because requirements not met. |
Definition at line 158 of file SpecialResetpass.php.
References $user, User::newFromName(), wfMsg(), and wfRunHooks().
Referenced by execute().
SpecialResetpass::error | ( | $ | msg | ) |
Definition at line 69 of file SpecialResetpass.php.
References $msg, $wgOut, and Xml::element().
Referenced by execute().
SpecialResetpass::execute | ( | $ | par | ) |
Main execution point.
Reimplemented from SpecialPage.
Definition at line 19 of file SpecialResetpass.php.
References $wgAuth, $wgOut, $wgRequest, $wgUser, attemptReset(), error(), Title::newFromText(), Title::newMainPage(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), showForm(), and wfMsg().
SpecialResetpass::pretty | ( | $ | fields | ) |
Definition at line 130 of file SpecialResetpass.php.
References $fields, $name, $out, $type, Xml::input(), Xml::label(), and wfMsg().
Referenced by showForm().
SpecialResetpass::showForm | ( | ) |
Definition at line 74 of file SpecialResetpass.php.
References $self, $wgOut, $wgRequest, $wgUser, Xml::checkLabel(), Xml::closeElement(), Xml::fieldset(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::openElement(), pretty(), Xml::submitButton(), wfMsg(), and wfMsgExt().
Referenced by execute().