mixed fetchData(
string
$username, string
$password, [boolean
$isChallengeResponse = false])
|
|
Get user information from database
This function uses the given username to fetch the corresponding login data from the database table. If an account that matches the passed username and password is found, the function returns true. Otherwise it returns false.
Overrides
Auth_Container::fetchData() (Fetch data from storage container)
Parameters:
mixed query(
string
$query)
|
|
Prepare query to the database
This function checks if we have already opened a connection to the database. If that's not the case, a new connection is opened. After that the query is passed to the database.
Parameters: