Inherits UnlistedSpecialPage.
Public Member Functions | |
__construct () | |
Constructor. | |
execute ($code) | |
Main execution point. | |
showRequestForm () | |
Show a nice form for the user to request a confirmation mail. | |
attemptConfirm ($code) | |
Attempt to confirm the user's email address and show success or failure as needed; if successful, take the user to log in. |
Definition at line 11 of file SpecialConfirmemail.php.
EmailConfirmation::__construct | ( | ) |
EmailConfirmation::attemptConfirm | ( | $ | code | ) |
Attempt to confirm the user's email address and show success or failure as needed; if successful, take the user to log in.
$code | Confirmation code |
Definition at line 89 of file SpecialConfirmemail.php.
References $code, $title, $user, $wgOut, $wgUser, SpecialPage::getTitleFor(), and User::newFromConfirmationCode().
Referenced by execute().
EmailConfirmation::execute | ( | $ | code | ) |
Main execution point.
$code | Confirmation code passed to the page |
Reimplemented from SpecialPage.
Definition at line 25 of file SpecialConfirmemail.php.
References $code, $self, $title, $wgOut, $wgUser, attemptConfirm(), SpecialPage::getTitleFor(), User::isValidEmailAddr(), SpecialPage::setHeaders(), showRequestForm(), wfMsgHtml(), and wfMsgWikiHtml().
EmailConfirmation::showRequestForm | ( | ) |
Show a nice form for the user to request a confirmation mail.
Definition at line 51 of file SpecialConfirmemail.php.
References $ok, $self, $t, $wgLang, $wgOut, $wgRequest, $wgUser, Xml::closeElement(), SpecialPage::getTitleFor(), Xml::hidden(), WikiError::isError(), Xml::openElement(), Xml::submitButton(), and wfMsg().
Referenced by execute().