Essential functionality for the db class
This class implements the essential functions for all the implementing layers.
Don't call or instanciate this class.
Located in /core/anyDB/base/BasicDB.php (line 25)
UtilityClass | --AbstractDB | --BasicDB
Class | Description |
---|---|
ADOdbDB | Implementation for ADODB |
MetabaseDB | Implementation for Metabase |
MysqlDB | Implementation for mysql Made for php version >= 4.x Tested with mysql 4.0.17 |
OdbcDB | Implementation for ODBC |
PearDB | Implementation for PEAR |
PostgresDB | Implementation for PostgreSQL |
SQLiteDB | Implementation for SQLite |
Inherited from AbstractDB
AbstractDB::$database
AbstractDB::$db
AbstractDB::$error
AbstractDB::$errors
AbstractDB::$host
AbstractDB::$lastQuery
AbstractDB::$password
AbstractDB::$persistent
AbstractDB::$prefResType
AbstractDB::$pushError
AbstractDB::$queries
AbstractDB::$result
AbstractDB::$user
Constructor
Connects to the db
Modifies a string to make it secure to add to the db
Executes a statement and returns the result table
Frees the memory from the result set
Returns the resulting table in an 2-dimensional array
Returns a result column after an apropriate sql statement
Checks if a dataset exists and returns the id if so
Returns the db type identifier
return id string
Returns the id of the last insert operation
Returns the resulting table but uses the $key field as an index
Returns the table names of the current db
Returns a single value after an apropriate sql statement
Submits an sql statement to the db
Changes the current database
Inherited From AbstractDB
AbstractDB::AbstractDB()
AbstractDB::affectedRows()
AbstractDB::connect()
AbstractDB::disconnect()
AbstractDB::escapeStr()
AbstractDB::execute()
AbstractDB::free()
AbstractDB::getAll()
AbstractDB::getColumn()
AbstractDB::getDataId()
AbstractDB::getDBs()
AbstractDB::getDbType()
AbstractDB::getIdentifier()
AbstractDB::getInsertId()
AbstractDB::getMapped()
AbstractDB::getNext()
AbstractDB::getTables()
AbstractDB::getValue()
AbstractDB::getVersion()
AbstractDB::numRows()
AbstractDB::query()
AbstractDB::setDB()
Inherited From UtilityClass
UtilityClass::UtilityClass()
Documentation generated on Tue, 4 Oct 2005 21:58:49 -0700 by phpDocumentor 1.3.0RC3