The methods PEAR DB uses to interact with PHP's oci8 extension for interacting with Oracle databases
Definitely works with versions 8 and 9 of Oracle.
These methods overload the ones declared in DB_common.
Be aware... OCIError() only appears to return anything when given a statement, so functions return the generic DB_ERROR instead of more useful errors that have to do with feedback from the database.
Located in /web/lib/external/pear-db/DB/oci8.php (line 53)
PEAR | --DB_common | --DB_oci8
The raw database connection created by PHP
The database syntax variant to be used (db2, access, etc.), if any
The DSN information for connecting to a database
A mapping of native error codes to DB error codes
The capabilities of this DB implementation
The 'new_link' element contains the PHP version that first provided new_link support for this DBMS. Contains false if it's unsupported.
Meaning of the 'limit' element:
The result or statement handle from the most recently executed query
The DB driver type (mysql, oci8, odbc, etc.)
Inherited from DB_common
DB_common::$fetchmode
DB_common::$fetchmode_object_class
DB_common::$last_parameters
DB_common::$last_query
DB_common::$options
DB_common::$prepared_queries
DB_common::$prepare_tokens
DB_common::$prepare_types
DB_common::$was_connected
DB_common::$_last_query_manip
DB_common::$_next_query_manip
Determines the number of rows affected by a data maniuplation query
Enables or disables automatic commits
Commits the current transaction
Connect to the database server, log in and open the database
Don't call this method directly. Use DB::connect() instead.
If PHP is at version 5.0.0 or greater:
PEAR DB's oci8 driver supports the following extra DSN options:
Creates a new sequence
Deletes a sequence
Gets the DBMS' native error code produced by the last query
Executes a DB statement prepared with prepare().
To determine how many rows of a result set get buffered using ocisetprefetch(), see the "result_buffering" option in setOptions(). This option was added in Release 1.7.0.
Places a row from the result set into the given array
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
This method is not meant to be called directly. Use DB_result::fetchInto() instead. It can't be declared "protected" because DB_result is a separate object.
Frees the internal resources associated with a prepared query
Deletes the result set and frees the memory occupied by the result set
This method is not meant to be called directly. Use DB_result::free() instead. It can't be declared "protected" because DB_result is a separate object.
Obtains the query string needed for listing a given type of objects
Adds LIMIT clauses to a query string according to current DBMS standards
Changes a query string for various DBMS specific reasons
"SELECT 2+2" must be "SELECT 2+2 FROM dual" in Oracle.
Returns the next free id in a sequence
Move the internal oracle result pointer to the next available result
Gets the number of columns in a result set
This method is not meant to be called directly. Use DB_result::numCols() instead. It can't be declared "protected" because DB_result is a separate object.
Gets the number of rows in a result set
Only works if the DB_PORTABILITY_NUMROWS portability option is turned on.
This method is not meant to be called directly. Use DB_result::numRows() instead. It can't be declared "protected" because DB_result is a separate object.
Produces a DB_Error object regarding the current problem
Prepares a query for multiple execution with execute().
With oci8, this is emulated.
prepare() requires a generic query as string like
Three types of placeholders can be used:
Formats a float value for use within a query in a locale-independent manner.
Reverts the current transaction
Sends a query to the database server
To determine how many rows of a result set get buffered using ocisetprefetch(), see the "result_buffering" option in setOptions(). This option was added in Release 1.7.0.
Returns information about a table or a result set
NOTE: only supports 'table' and 'flags' if $result is a table name.
NOTE: flags won't contain index information.
Inherited From DB_common
DB_common::DB_common()
DB_common::affectedRows()
DB_common::autoCommit()
DB_common::autoExecute()
DB_common::autoPrepare()
DB_common::buildManipSQL()
DB_common::commit()
DB_common::createSequence()
DB_common::dropSequence()
DB_common::errorCode()
DB_common::errorMessage()
DB_common::errorNative()
DB_common::escapeSimple()
DB_common::execute()
DB_common::executeEmulateQuery()
DB_common::executeMultiple()
DB_common::freePrepared()
DB_common::getAll()
DB_common::getAssoc()
DB_common::getCol()
DB_common::getListOf()
DB_common::getOne()
DB_common::getOption()
DB_common::getRow()
DB_common::getSequenceName()
DB_common::getSpecialQuery()
DB_common::getTables()
DB_common::limitQuery()
DB_common::modifyLimitQuery()
DB_common::modifyQuery()
DB_common::nextId()
DB_common::nextQueryIsManip()
DB_common::numRows()
DB_common::prepare()
DB_common::provides()
DB_common::query()
DB_common::quote()
DB_common::quoteBoolean()
DB_common::quoteFloat()
DB_common::quoteIdentifier()
DB_common::quoteSmart()
DB_common::quoteString()
DB_common::raiseError()
DB_common::rollback()
DB_common::setFetchMode()
DB_common::setOption()
DB_common::tableInfo()
DB_common::toString()
DB_common::_checkManip()
DB_common::_convertNullArrayValuesToEmpty()
DB_common::_rtrimArrayValues()
DB_common::__sleep()
DB_common::__toString()
DB_common::__wakeup()
Inherited From PEAR
PEAR::PEAR()
PEAR::delExpect()
PEAR::expectError()
PEAR::getStaticProperty()
PEAR::isError()
PEAR::loadExtension()
PEAR::popErrorHandling()
PEAR::popExpect()
PEAR::pushErrorHandling()
PEAR::raiseError()
PEAR::registerShutdownFunc()
PEAR::setErrorHandling()
PEAR::staticPopErrorHandling()
PEAR::staticPushErrorHandling()
PEAR::throwError()
PEAR::_PEAR()
Documentation generated on Wed, 09 Feb 2011 09:02:29 +0700 by phpDocumentor 1.4.2