Class Auth_Container_RSDB

Description

An extended container for PEAR::Auth based on Auth_Container_DB.

Auth_Container_RSDB most important allows to activate/deactivate users so that they cannot log in any more but are still existing in the database.

Located in /code/framework/Auth_Container_RSDB/RSDB.php (line 42)

Auth_Container_DB
   |
   --Auth_Container_RSDB
Method Summary
mixed fetchData (string $username, string $password)
mixed _connect (string $dsn)
void _setDefaults ()
Methods
fetchData (line 80)

Get user information from database. RSDB appends ' AND $activatedcol=1' to the query.

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.

  • return: Error object or boolean
mixed fetchData (string $username, string $password)
  • string $username: Username
  • string $password: Password
_connect (line 150)

Connect to database by using the given DSN string

  • return: Object on error, otherwise bool
  • access: private
mixed _connect (string $dsn)
  • string $dsn: DSN string
_setDefaults (line 51)

Set some default options. RSDB adds the options activatedcol and persistent!

  • access: private
void _setDefaults ()

Documentation generated on Mon, 8 Dec 2003 13:10:40 +0100 by phpDocumentor 1.2.3