Class SQLiteDB

Description

Implementation for SQLite

This class implements the db interface for SQLite
Tested with sqlite version 2.8.3

Located in /core/anyDB/dbs/SQLiteDB.php (line 19)

UtilityClass
   |
   --AbstractDB
      |
      --BasicDB
         |
         --SQLiteDB
Method Summary
SQLiteDB SQLiteDB (mixed $libraryPath, [mixed $dbType = 'sqlite'], [mixed $preferredResType = ANYDB_RES_ASSOC])
void affectedRows ()
void connect (mixed $host, mixed $db, mixed $user, mixed $password, [mixed $persistent = false])
void disconnect ()
void getAll ([mixed $resultType = ANYDB_PREDEFINED_VALUE])
void getNext ([mixed $resultType = ANYDB_PREDEFINED_VALUE])
void getTables ()
void getValue ([mixed $resultType = ANYDB_STRING])
void getVersion ()
void numRows ()
void query (mixed $query)
Variables
Methods
Constructor SQLiteDB (line 45)
SQLiteDB SQLiteDB (mixed $libraryPath, [mixed $dbType = 'sqlite'], [mixed $preferredResType = ANYDB_RES_ASSOC])
affectedRows (line 198)
void affectedRows ()

Redefinition of:
AbstractDB::affectedRows()
Returns how many rows were affected by the last statement
connect (line 60)
void connect (mixed $host, mixed $db, mixed $user, mixed $password, [mixed $persistent = false])

Redefinition of:
BasicDB::connect()
Connects to the db
disconnect (line 80)
void disconnect ()

Redefinition of:
AbstractDB::disconnect()
Closes the db connection
getAll (line 150)
void getAll ([mixed $resultType = ANYDB_PREDEFINED_VALUE])

Redefinition of:
BasicDB::getAll()
Returns the resulting table in an 2-dimensional array
getNext (line 117)
void getNext ([mixed $resultType = ANYDB_PREDEFINED_VALUE])

Redefinition of:
AbstractDB::getNext()
Returns the next row in an array
getTables (line 204)
void getTables ()

Redefinition of:
BasicDB::getTables()
Returns the table names of the current db
getValue (line 175)
void getValue ([mixed $resultType = ANYDB_STRING])

Redefinition of:
BasicDB::getValue()
Returns a single value after an apropriate sql statement
getVersion (line 39)
void getVersion ()

Redefinition of:
AbstractDB::getVersion()
Returns the current version
numRows (line 192)
void numRows ()

Redefinition of:
AbstractDB::numRows()
Returns how many rows are in the result set
query (line 95)
void query (mixed $query)

Redefinition of:
BasicDB::query()
Submits an sql statement to the db

Inherited Methods

Inherited From BasicDB

BasicDB::BasicDB()
BasicDB::connect()
BasicDB::escapeStr()
BasicDB::execute()
BasicDB::free()
BasicDB::getAll()
BasicDB::getColumn()
BasicDB::getColumnDescr()
BasicDB::getDataId()
BasicDB::getDBs()
BasicDB::getDbType()
BasicDB::getIdentifier()
BasicDB::getInsertId()
BasicDB::getMapped()
BasicDB::getTables()
BasicDB::getValue()
BasicDB::query()
BasicDB::setDB()
BasicDB::_addError()
BasicDB::_trace()

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:59:31 -0700 by phpDocumentor 1.3.0RC3