MediaWiki  REL1_20
ChangePassword Class Reference

Maintenance script to change the password of a given user. More...

Inheritance diagram for ChangePassword:
Collaboration diagram for ChangePassword:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Detailed Description

Maintenance script to change the password of a given user.

Definition at line 34 of file changePassword.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 35 of file changePassword.php.

References Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 43 of file changePassword.php.

References $user, Maintenance\error(), Maintenance\getOption(), MWException\getText(), Maintenance\hasOption(), User\newFromId(), User\newFromName(), and Maintenance\output().


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