MediaWiki  REL1_22
EmailInvalidation Class Reference

Special page allows users to cancel an email confirmation using the e-mail confirmation code. More...

Inheritance diagram for EmailInvalidation:
Collaboration diagram for EmailInvalidation:

List of all members.

Public Member Functions

 __construct ()
 attemptInvalidate ($code)
 Attempt to invalidate the user's email address and show success or failure as needed; if successful, link to main page.
 execute ($code)
 Default execute method Checks user permissions, calls the function given in mFunction.

Detailed Description

Special page allows users to cancel an email confirmation using the e-mail confirmation code.

Definition at line 157 of file SpecialConfirmemail.php.


Constructor & Destructor Documentation


Member Function Documentation

Attempt to invalidate the user's email address and show success or failure as needed; if successful, link to main page.

Parameters:
string$codeConfirmation code

Definition at line 175 of file SpecialConfirmemail.php.

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

Referenced by execute().

Default execute method Checks user permissions, calls the function given in mFunction.

This must be overridden by subclasses; it will be made abstract in a future version

Parameters:
$subPagestring|null

Reimplemented from SpecialPage.

Definition at line 162 of file SpecialConfirmemail.php.

References attemptInvalidate(), SpecialPage\checkPermissions(), SpecialPage\checkReadOnly(), and SpecialPage\setHeaders().


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