newuser Class Reference

List of all members.

Public Member Functions

 __construct ()
 __destruct ()
 checkValues ($sFirstName, $sLastName, $sFieldOfStudy, $sEmail, $sRegPw, $sPw, $sPwValid)
 createUserAccount ($sFirstName, $sLastName, $sFieldOfStudy, $sEmail, $sPw)


Detailed Description

Offers functionality for newuser.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

newuser::__construct (  ) 

Constructor

newuser::__destruct (  ) 

Destructor


Member Function Documentation

newuser::checkValues ( sFirstName,
sLastName,
sFieldOfStudy,
sEmail,
sRegPw,
sPw,
sPwValid 
)

Checks values.

Parameters:
$sFirstName First name of the new user.
$sLastName Last name of the new user.
$sFieldOfStudy Field of study of the new user.
$sEmail E-mail (=user name) of the new user.
$sRegPw Registration password (to protect site against unallowed registration).
$sPw Password of the new user.
$sPwValid Validation of the new password (second input).
Returns:
True on success, otherwise false.

newuser::createUserAccount ( sFirstName,
sLastName,
sFieldOfStudy,
sEmail,
sPw 
)

Creates a new user account.

Parameters:
$sFirstName First name of the new user.
$sLastName Last name of the new user.
$sFieldOfStudy Field of study of the new user.
$sEmail E-mail (=user name) of the new user.
$sPw Password of the new user.
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