The methods PEAR DB uses to interact with PHP's mysqli extension for interacting with MySQL databases
This is for MySQL versions 4.1 and above. Requires PHP 5.
Note that persistent connections no longer exist.
These methods overload the ones declared in DB_common.
Located in /web/lib/external/pear-db/DB/mysqli.php (line 50)
PEAR | --DB_common | --DB_mysqli
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:
Array for converting MYSQLI_*_FLAG constants to text values
Array for converting MYSQLI_TYPE_* constants to text values
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.
PEAR DB's mysqli 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
Escapes a string according to the current DBMS's standards
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.
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
Produces a DB_Error object regarding the current problem
Returns the next free id in a sequence
Move the internal mysql result pointer to the next available result.
This method has not been implemented yet.
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
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.
Quotes a string so it can be safely used as a table or column name (WARNING: using names that require this is a REALLY BAD IDEA)
WARNING: Older versions of MySQL can't handle the backtick character (`) in table or column names.
Reverts the current transaction
Sends a query to the database server
Returns information about a table or a result set
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:20 +0700 by phpDocumentor 1.4.2