MediaWiki  REL1_19
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 139 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:
$codeConfirmation code

Definition at line 161 of file SpecialConfirmemail.php.

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

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

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:
$parString subpage string, if one was specified

Reimplemented from SpecialPage.

Definition at line 145 of file SpecialConfirmemail.php.

References attemptInvalidate(), SpecialPage\setHeaders(), and wfReadOnly().

Here is the call graph for this function:


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