SpecialResetpass Class Reference
[SpecialPage]

Let users recover their password. More...

Inherits SpecialPage.

List of all members.

Public Member Functions

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

Protected Member Functions

 attemptReset ($newpass, $retype)


Detailed Description

Let users recover their password.

Definition at line 11 of file SpecialResetpass.php.


Constructor & Destructor Documentation

SpecialResetpass::__construct (  ) 

Definition at line 12 of file SpecialResetpass.php.


Member Function Documentation

SpecialResetpass::attemptReset ( newpass,
retype 
) [protected]

Exceptions:
PasswordError when cannot set the new password because requirements not met.

Definition at line 176 of file SpecialResetpass.php.

References User::newFromName(), wfMsg(), and wfRunHooks().

Referenced by execute().

SpecialResetpass::doReturnTo (  ) 

Definition at line 70 of file SpecialResetpass.php.

References $wgOut, $wgRequest, Title::newFromText(), and Title::newMainPage().

Referenced by execute().

SpecialResetpass::error ( msg  ) 

Definition at line 79 of file SpecialResetpass.php.

References $msg, $wgOut, and Xml::element().

Referenced by execute().

SpecialResetpass::execute ( par  ) 

Main execution point.

Reimplemented from SpecialPage.

Definition at line 19 of file SpecialResetpass.php.

References $wgAuth, $wgOut, $wgRequest, $wgUser, attemptReset(), doReturnTo(), error(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), showForm(), and wfMsg().

SpecialResetpass::pretty ( fields  ) 

SpecialResetpass::showForm (  ) 


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

Generated on Sat Apr 30 22:57:49 2011 for MediaWiki by  doxygen 1.5.9