EmailInvalidation Class Reference
[SpecialPage]

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

Inherits UnlistedSpecialPage.

List of all members.

Public Member Functions

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


Detailed Description

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

Definition at line 114 of file SpecialConfirmemail.php.


Constructor & Destructor Documentation

EmailInvalidation::__construct (  ) 

Definition at line 116 of file SpecialConfirmemail.php.


Member Function Documentation

EmailInvalidation::attemptInvalidate ( code  ) 

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

Parameters:
$code Confirmation code

Definition at line 131 of file SpecialConfirmemail.php.

References $code, $user, $wgOut, $wgUser, and User::newFromConfirmationCode().

Referenced by execute().

EmailInvalidation::execute ( par  ) 

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

This may be overridden by subclasses.

Reimplemented from SpecialPage.

Definition at line 120 of file SpecialConfirmemail.php.

References $code, attemptInvalidate(), and SpecialPage::setHeaders().


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

Generated on Sat Sep 5 02:08:36 2009 for MediaWiki by  doxygen 1.5.9