in file MDB2.php, method MDB2::classExists() Checks if a class exists without triggering __autoload
commit
in file MDB2.php, method MDB2_Driver_Common::commit() Commit the database changes done during a transaction that is in progress. This function may only be called when auto-committing is disabled, otherwise it will fail. Therefore, a new transaction is implicitly started after committing the pending changes.
in file MDB2.php, method MDB2::errorMessage() Return a textual error message for a MDB2 error code
escape
in file MDB2.php, method MDB2_Driver_Common::escape() Quotes a string so it can be safely used in a query. It will quote the text so it can safely be used within a query.
exec
in file MDB2.php, method MDB2_Driver_Common::exec() Execute a manipulation query to the database and return any the affected rows
in file Extended.php, method MDB2_Extended::getAll() Fetch all the rows returned from a query.
getAssoc
in file Extended.php, method MDB2_Extended::getAssoc() Fetch the entire result set of a query and return it as an associative array using the first column as the key.
getBeforeID
in file Extended.php, method MDB2_Extended::getBeforeID() Returns the next free id of a sequence if the RDBMS does not support auto increment
getCol
in file Extended.php, method MDB2_Extended::getCol() Fetch a single column from a result set and return it as an indexed array.
getColumnNames
in file MDB2.php, method MDB2_Result_Common::getColumnNames() Retrieve the names of columns returned by the DBMS in a query result or from the cache.
in file Extended.php, method MDB2_Extended::getRow() Fetch the first row of data returned from a query. Takes care of doing the query and freeing the results when finished.
in file Common.php, method MDB2_Driver_Datatype_Common::implodeArray() apply a type to all values of an array and return as a comma seperated string useful for generating IN statements
in file LOB.php, variable MDB2_LOB::$lob_index contains the key to the global MDB2_LOB instance array of the associated MDB2_LOB instance
lastInsertID
in file MDB2.php, method MDB2_Driver_Common::lastInsertID() Returns the autoincrement ID if supported or $id or fetches the current ID in a sequence called: $table.(empty($field) ? '' : '_'.$field)
in file MDB2.php, class MDB2 The main 'MDB2' class is simply a container class with some static methods for creating DB objects as well as some utility functions common to all parts of DB.
in file Date.php, class MDB2_Date Several methods to convert the MDB2 native timestamp format (ISO based) to and from data structures that are convenient to worth with in side of php.
in file Extended.php, class MDB2_Extended MDB2_Extended: class which adds several high level methods to MDB2
MDB2_FETCHMODE_ASSOC
in file MDB2.php, constant MDB2_FETCHMODE_ASSOC Column data indexed by column names
MDB2_FETCHMODE_DEFAULT
in file MDB2.php, constant MDB2_FETCHMODE_DEFAULT This is a special constant that tells MDB2 the user hasn't specified any particular get mode, so the default should be used.
MDB2_FETCHMODE_FLIPPED
in file MDB2.php, constant MDB2_FETCHMODE_FLIPPED For multi-dimensional results: normally the first level of arrays is the row number, and the second level indexed by column number or name.
in file MDB2.php, constant MDB2_PORTABILITY_EMPTY_TO_NULL Portability: convert empty values to null strings in data output by query*() and fetch*().
MDB2_PORTABILITY_ERRORS
in file MDB2.php, constant MDB2_PORTABILITY_ERRORS Portability: makes certain error messages in certain drivers compatible with those from other DBMS's.
in file MDB2.php, constant MDB2_PORTABILITY_FIX_CASE Portability: convert names of tables and fields to case defined in the "field_case" option when using the query*(), fetch*() and tableInfo() methods.
MDB2_PORTABILITY_NONE
in file MDB2.php, constant MDB2_PORTABILITY_NONE Portability: turn off all portability features.
MDB2_PORTABILITY_NUMROWS
in file MDB2.php, constant MDB2_PORTABILITY_NUMROWS Portability: not needed in MDB2 (just left here for compatibility to DB)
MDB2_PORTABILITY_RTRIM
in file MDB2.php, constant MDB2_PORTABILITY_RTRIM Portability: right trim the data output by query*() and fetch*().
MDB2_PREPARE_MANIP
in file MDB2.php, constant MDB2_PREPARE_MANIP These are just helper constants to more verbosely express parameters to prepare()
in file Date.php, method MDB2_Date::mdbstamp2Date() convert a MDB2 timestamp into an array containing all values necessary to pass to php's date() function
in file MDB2.php, method MDB2_Driver_Common::queryAll() Execute the specified query, fetch all the rows of the result set into a two dimensional array and then frees the result set.
queryCol
in file MDB2.php, method MDB2_Driver_Common::queryCol() Execute the specified query, fetch the value from the first column of each row of the result set into an array and then frees the result set.
queryOne
in file MDB2.php, method MDB2_Driver_Common::queryOne() Execute the specified query, fetch the value from the first column of the first row of the result set and then frees the result set.
queryRow
in file MDB2.php, method MDB2_Driver_Common::queryRow() Execute the specified query, fetch the values from the first row of the result set into an array and then frees the result set.
quote
in file Common.php, method MDB2_Driver_Datatype_Common::quote() Convert a text value into a DBMS specific format that is suitable to compose query statements.
quote
in file MDB2.php, method MDB2_Driver_Common::quote() Convert a text value into a DBMS specific format that is suitable to compose query statements.
in file MDB2.php, method MDB2_Driver_Common::raiseError() This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
raiseError
in file MDB2.php, method MDB2::raiseError() This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
replace
in file MDB2.php, method MDB2_Driver_Common::replace() Execute a SQL REPLACE query. A REPLACE query is identical to a INSERT query, except that if there is already a row in the table with the same key field values, the REPLACE query just updates its values instead of inserting a new row.
in file MDB2.php, method MDB2_Driver_Common::rollback() Cancel any database changes done during a transaction that is in progress. This function may only be called when auto-committing is disabled, otherwise it will fail. Therefore, a new transaction is implicitly started after canceling the pending changes.
rowCount
in file MDB2.php, method MDB2_Result_Common::rowCount() Returns the actual row number that was last fetched (count from 0)
in file Common.php, method MDB2_Driver_Datatype_Common::_endOfLOB() Determine whether it was reached the end of the large object and therefore there is no more data to be read for the its input stream.
in file Common.php, method MDB2_Driver_Datatype_Common::_getBLOBDeclaration() Obtain DBMS specific SQL code portion needed to declare an binary large object type field to be used in statements like CREATE TABLE.
in file Common.php, method MDB2_Driver_Datatype_Common::_getCLOBDeclaration() Obtain DBMS specific SQL code portion needed to declare an character large object type field to be used in statements like CREATE TABLE.
in file Common.php, method MDB2_Driver_Datatype_Common::_getDeclaration() Obtain DBMS specific SQL code portion needed to declare a generic type field to be used in statements like CREATE TABLE.
in file Common.php, method MDB2_Driver_Datatype_Common::_quoteLOB() Convert a text value into a DBMS specific format that is suitable to compose query statements.
in file Common.php, method MDB2_Driver_Datatype_Common::_readFile() Convert a text value into a DBMS specific format that is suitable to compose query statements.