Public Member Functions | |
__construct () | |
__destruct () | |
checkValues ($sEmail) | |
setNewPassword ($sEmail, $sNewPw) |
lostpw::__construct | ( | ) |
Constructor
lostpw::__destruct | ( | ) |
Destructor
lostpw::checkValues | ( | $ | sEmail | ) |
Checks values, only the e-mail is validated (correct syntax).
$sEmail | E-mail (=user name) of the user. |
lostpw::setNewPassword | ( | $ | sEmail, | |
$ | sNewPw | |||
) |
Sets new password.
$sEmail | E-mail (=user name) of the user. | |
$sNewPw | New password of the user. If this is an emtpy string, a password will be generated. |