Documentation TYPO3 par Ameos |
Public Member Functions | |
Auth_Container_ADOdb ($dsn) | |
_connect ($dsn) | |
_prepare () | |
query ($query) | |
_setDefaults () | |
_parseOptions ($array) | |
fetchData ($username, $password) | |
listUsers () | |
addUser ($username, $password, $additional="") | |
removeUser ($username) | |
Public Attributes | |
$options = array() | |
$db = null | |
$dsn = '' | |
$activeUser = '' |
Definition at line 40 of file ADOdb.php.
|
Constructor of the container class Initate connection to the database via PEAR::ADOdb
Definition at line 72 of file ADOdb.php. References $dsn, _parseOptions(), and _setDefaults(). |
|
Connect to database by using the given DSN string private
Definition at line 98 of file ADOdb.php. References $dsn. Referenced by _prepare(). |
|
Parse options passed to the container class private
Definition at line 197 of file ADOdb.php. Referenced by Auth_Container_ADOdb(). |
|
Prepare database connection This function checks if we have already opened a connection to the database. If that's not the case, a new connection is opened. private
Definition at line 136 of file ADOdb.php. References _connect(). Referenced by fetchData(), listUsers(), and query(). |
|
Set some default options private
Definition at line 177 of file ADOdb.php. Referenced by Auth_Container_ADOdb(). |
|
Add user to the storage container public
Definition at line 336 of file ADOdb.php. References DB::isError(), and query(). |
|
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.
Definition at line 230 of file ADOdb.php. References _prepare(), and DB::isError(). |
|
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. public
Definition at line 159 of file ADOdb.php. References _prepare(). Referenced by addUser(), and removeUser(). |
|
Remove user from the storage container public
Definition at line 384 of file ADOdb.php. References DB::isError(), and query(). |