![]() |
PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
|
Public Member Functions | |
| loginForm ($return=false) | |
| controlLogin () | |
| processLogin ($username, $password) | |
| lookupUser ($username, $password= '') | |
| setLogin ($select_user_array, $persistent=false) | |
| clearLogin ($set_guest=true) | |
| setGuest () | |
| isLoggedIn () | |
Interface a plugin must implement to be used in authentification
| clearLogin | ( | $ | set_guest = true | ) |
Destroys login session data.
Implemented in PHPDS_login.
| controlLogin | ( | ) |
Check what to do with login action.
Implemented in PHPDS_login.
| isLoggedIn | ( | ) |
| loginForm | ( | $ | return = false | ) |
Loads the username & password html template form.
| boolean | $return |
Implemented in PHPDS_login, and StandardLogin.
| lookupUser | ( | $ | username, |
| $ | password = '' |
||
| ) |
Search the database for the given credentials
| string | $username | |
| string | $password |
Implemented in PHPDS_login, and StandardLogin.
| processLogin | ( | $ | username, |
| $ | password | ||
| ) |
Checks to see if user and password is correct and allowed. Then creates session data accordingly.
| string | $username | |
| string | $password |
Implemented in PHPDS_login, and StandardLogin.
| setGuest | ( | ) |
Sets all settings to guest account.
Implemented in PHPDS_login.
| setLogin | ( | $ | select_user_array, |
| $ | persistent = false |
||
| ) |
Make the given user the logged in user
| array | $select_user_array |
Implemented in PHPDS_login.