MediaWiki  REL1_22
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)
 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
 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 225 of file SpecialChangeEmail.php.

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

Definition at line 121 of file SpecialChangeEmail.php.

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

Definition at line 136 of file SpecialChangeEmail.php.

Main execution point.

Reimplemented from SpecialPage.

Definition at line 57 of file SpecialChangeEmail.php.

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 273 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 189 of file SpecialChangeEmail.php.

Definition at line 140 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: