Class Authentication

Description

Logging in class...

It is called from a lot of pages to prevent missuse. See the sourcecode for detailed description!

Located in /lib/php/authentication.php (line 31)


	
			
Method Summary
Authentication Authentication ()
void getCountryID ()
void loginObject (mixed $request)
void printLoginForm (mixed $request)
void tryToFind (mixed $logindata)
Methods
Constructor Authentication (line 33)
Authentication Authentication ()
getCountryID (line 185)

Returns the $countryID variable from the session. It's necessary in almost every page.

  • todo: make this method database-driven ASAP
void getCountryID ()
loginObject (line 123)

Creates an associative array from the input of the form.

void loginObject (mixed $request)
printLoginForm (line 139)

Guess what! :-)

void printLoginForm (mixed $request)
tryToFind (line 100)

Tries to find the user in database.

If sucseed, initializes $countryID variable in the session and redirects to main.php, else redirects to loginscreen.php.

void tryToFind (mixed $logindata)

Documentation generated on Mon, 21 Mar 2005 22:45:33 +0100 by phpDocumentor 1.3.0RC3