MediaWiki  REL1_20
SpecialChangeEmail Class Reference

Let users change their email address. More...

Inheritance diagram for SpecialChangeEmail:
Collaboration diagram for SpecialChangeEmail:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Main execution point.
 isListed ()

Protected Member Functions

 attemptChange (User $user, $pass, $newaddr)
 doReturnTo ($type= 'hard')
 error ($msg)
 pretty ($fields)
 showForm ()

Protected Attributes

string $mNewEmail
 Users new email address.
string $mPassword
 Users password.

Detailed Description

Let users change their email address.

Definition at line 29 of file SpecialChangeEmail.php.


Constructor & Destructor Documentation


Member Function Documentation

SpecialChangeEmail::attemptChange ( User user,
pass,
newaddr 
) [protected]
Parameters:
$userUser
$passstring
$newaddrstring
Returns:
bool|string true or string on success, false on failure

Definition at line 213 of file SpecialChangeEmail.php.

SpecialChangeEmail::doReturnTo ( type = 'hard') [protected]
Parameters:
$typestring

Definition at line 110 of file SpecialChangeEmail.php.

SpecialChangeEmail::error ( msg) [protected]
Parameters:
$msgstring

Definition at line 125 of file SpecialChangeEmail.php.

Main execution point.

Reimplemented from SpecialPage.

Definition at line 56 of file SpecialChangeEmail.php.

Returns:
Bool

Reimplemented from UnlistedSpecialPage.

Definition at line 48 of file SpecialChangeEmail.php.

SpecialChangeEmail::pretty ( fields) [protected]
Parameters:
$fieldsarray
Returns:
string

Definition at line 178 of file SpecialChangeEmail.php.

Definition at line 129 of file SpecialChangeEmail.php.


Member Data Documentation

string SpecialChangeEmail::$mNewEmail [protected]

Users new email address.

Definition at line 39 of file SpecialChangeEmail.php.

string SpecialChangeEmail::$mPassword [protected]

Users password.

Definition at line 34 of file SpecialChangeEmail.php.


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