lostpw Class Reference

List of all members.

Public Member Functions

 __construct ()
 __destruct ()
 checkValues ($sEmail)
 setNewPassword ($sEmail, $sNewPw)


Detailed Description

Offers functionality for lostpw.php.

Author:
Stephan Schuetz, stephan.schuetz(at)fhnw.ch
Date:
14.10.2007
Version:
1.0
(c) Copyright GITTA 2007. Creative Commons License "Attribution-Noncommercial-Share Alike" http://creativecommons.org/licenses/by-nc-sa/3.0/

Constructor & Destructor Documentation

lostpw::__construct (  ) 

Constructor

lostpw::__destruct (  ) 

Destructor


Member Function Documentation

lostpw::checkValues ( sEmail  ) 

Checks values, only the e-mail is validated (correct syntax).

Parameters:
$sEmail E-mail (=user name) of the user.
Returns:
True on success, otherwise false.

lostpw::setNewPassword ( sEmail,
sNewPw 
)

Sets new password.

Parameters:
$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.
Returns:
True on success, otherwise false.


The documentation for this class was generated from the following file:
Generated on Sun Dec 2 19:47:28 2007 for elSQL - e-learn SQL by  doxygen 1.5.3