![]() |
PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
|
Public Member Functions | |
| loginForm ($return=false) | |
| processLogin ($username, $password) | |
| lookupUser ($username, $password= '') | |
| lookupUsername ($username) | |
Data Fields | |
| $loginPageId = '3682403894' | |
| $registrationPageId = '3727066128' | |
| $lostPasswordPageId = '1901799184' | |
Contains methods to handle standard logins.
| loginForm | ( | $ | return = false | ) |
Loads the username & password html template form.
| boolean | $return |
Reimplemented from PHPDS_login.
| lookupUser | ( | $ | username, |
| $ | password = '' |
||
| ) |
Search the database for the given credentials
If don't give the password (not the same an empty string), only the username will be checked
| string | $username | |
| string | $password |
Reimplemented from PHPDS_login.
| lookupUsername | ( | $ | username | ) |
Check if the username exists.
| string | $username |
| processLogin | ( | $ | username, |
| $ | password | ||
| ) |
Checks to see if user and password is correct and allowed. Then creates session data accordingly.
| string | $username | |
| string | $password |
Reimplemented from PHPDS_login.
| $loginPageId = '3682403894' |
| $lostPasswordPageId = '1901799184' |
| $registrationPageId = '3727066128' |