Public Member Functions | |
__construct () | |
__destruct () | |
checkValues ($sFirstName, $sLastName, $sFieldOfStudy, $sEmail, $sRegPw, $sPw, $sPwValid) | |
createUserAccount ($sFirstName, $sLastName, $sFieldOfStudy, $sEmail, $sPw) |
newuser::__construct | ( | ) |
Constructor
newuser::__destruct | ( | ) |
Destructor
newuser::checkValues | ( | $ | sFirstName, | |
$ | sLastName, | |||
$ | sFieldOfStudy, | |||
$ | sEmail, | |||
$ | sRegPw, | |||
$ | sPw, | |||
$ | sPwValid | |||
) |
Checks values.
$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). |
newuser::createUserAccount | ( | $ | sFirstName, | |
$ | sLastName, | |||
$ | sFieldOfStudy, | |||
$ | sEmail, | |||
$ | sPw | |||
) |
Creates a new user account.
$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. |