MediaWiki  REL1_22
SpecialChangePassword Class Reference

Let users recover their password. More...

Inheritance diagram for SpecialChangePassword:
Collaboration diagram for SpecialChangePassword:

List of all members.

Public Member Functions

 __construct ()
 error ($msg)
 execute ($par)
 Main execution point.
 pretty ($fields)
 showForm ()

Public Attributes

 $mDomain
 $mNewpass
 $mOldpass
 $mRetype

Protected Member Functions

 attemptReset ($newpass, $retype)
 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'.

Protected Attributes

 $mUserName

Detailed Description

Let users recover their password.

Definition at line 29 of file SpecialChangePassword.php.


Constructor & Destructor Documentation


Member Function Documentation

SpecialChangePassword::attemptReset ( newpass,
retype 
) [protected]
Exceptions:
PasswordErrorwhen cannot set the new password because requirements not met.

Definition at line 248 of file SpecialChangePassword.php.

References $abortMsg, $user, array(), LoginForm\clearLoginThrottle(), SpecialPage\getLanguage(), SpecialPage\getUser(), global, LoginForm\incLoginThrottle(), SpecialPage\msg(), User\newFromName(), params, text, and wfRunHooks().

Referenced by execute().

Parameters:
$msgstring

Definition at line 131 of file SpecialChangePassword.php.

References array(), Xml\element(), and SpecialPage\getOutput().

Referenced by execute().

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 310 of file SpecialChangePassword.php.

Parameters:
$fieldsarray
Returns:
string

Definition at line 209 of file SpecialChangePassword.php.

References $attribs, $name, $out, $value, array(), as, Html\input(), label, list, SpecialPage\msg(), User\passwordChangeInputAttribs(), and text.

Referenced by showForm().


Member Data Documentation

SpecialChangePassword::$mDomain

Definition at line 31 of file SpecialChangePassword.php.

SpecialChangePassword::$mNewpass

Definition at line 31 of file SpecialChangePassword.php.

SpecialChangePassword::$mOldpass

Definition at line 31 of file SpecialChangePassword.php.

SpecialChangePassword::$mRetype

Definition at line 31 of file SpecialChangePassword.php.

SpecialChangePassword::$mUserName [protected]

Definition at line 31 of file SpecialChangePassword.php.


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