MediaWiki  REL1_19
EmailConfirmation Class Reference

Special page allows users to request email confirmation message, and handles processing of the confirmation code when the link in the email is followed. More...

Inheritance diagram for EmailConfirmation:
Collaboration diagram for EmailConfirmation:

List of all members.

Public Member Functions

 __construct ()
 Constructor.
 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.
 execute ($code)
 Main execution point.
 showRequestForm ()
 Show a nice form for the user to request a confirmation mail.

Detailed Description

Special page allows users to request email confirmation message, and handles processing of the confirmation code when the link in the email is followed.

Author:
Brion Vibber
Rob Church <[email protected]>

Definition at line 32 of file SpecialConfirmemail.php.


Constructor & Destructor Documentation

Constructor.

Definition at line 37 of file SpecialConfirmemail.php.


Member Function Documentation

Attempt to confirm the user's email address and show success or failure as needed; if successful, take the user to log in.

Parameters:
$codeConfirmation code

Definition at line 115 of file SpecialConfirmemail.php.

References $title, $user, SpecialPage\getOutput(), SpecialPage\getTitleFor(), SpecialPage\getUser(), and User\newFromConfirmationCode().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Main execution point.

Parameters:
$codeConfirmation code passed to the page

Reimplemented from SpecialPage.

Definition at line 46 of file SpecialConfirmemail.php.

References attemptConfirm(), SpecialPage\checkReadOnly(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\getTitleFor(), SpecialPage\getUser(), Linker\linkKnown(), SpecialPage\msg(), SpecialPage\setHeaders(), showRequestForm(), and Sanitizer\validateEmail().

Here is the call graph for this function:

Show a nice form for the user to request a confirmation mail.

Definition at line 75 of file SpecialConfirmemail.php.

References $out, $t, $user, Xml\closeElement(), SpecialPage\getLanguage(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), SpecialPage\msg(), Xml\openElement(), and Xml\submitButton().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: