Element index for package MDB2
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ _ ]
_
- _baseConvertResult
- in file Common.php, method MDB2_Driver_Datatype_Common::_baseConvertResult()
general type conversion method
- _compareBLOBDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareBLOBDefinition()
Obtain an array of changes that may need to applied to an BLOB field
- _compareBooleanDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareBooleanDefinition()
Obtain an array of changes that may need to applied to an boolean field
- _compareCLOBDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareCLOBDefinition()
Obtain an array of changes that may need to applied to an CLOB field
- _compareDateDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareDateDefinition()
Obtain an array of changes that may need to applied to an date field
- _compareDecimalDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareDecimalDefinition()
Obtain an array of changes that may need to applied to an decimal field
- _compareFloatDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareFloatDefinition()
Obtain an array of changes that may need to applied to an float field
- _compareIntegerDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareIntegerDefinition()
Obtain an array of changes that may need to applied to an integer field
- _compareTextDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareTextDefinition()
Obtain an array of changes that may need to applied to an text field
- _compareTimeDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareTimeDefinition()
Obtain an array of changes that may need to applied to an time field
- _compareTimestampDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::_compareTimestampDefinition()
Obtain an array of changes that may need to applied to an timestamp field
- _doQuery
- in file MDB2.php, method MDB2_Driver_Common::_doQuery()
Execute a query
- _endOfLOB
- 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.
- _fixIndexName
- in file Common.php, method MDB2_Driver_Manager_Common::_fixIndexName()
Removes any formatting in an index name using the 'idxname_format' option
- _fixResultArrayValues
- in file MDB2.php, method MDB2_Driver_Common::_fixResultArrayValues()
Do all necessary conversions on result arrays to fix DBMS quirks
- _fixSequenceName
- in file Common.php, method MDB2_Driver_Manager_Common::_fixSequenceName()
Removes any formatting in an sequence name using the 'seqname_format' option
- _getBLOBDeclaration
- 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.
- _getBooleanDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getBooleanDeclaration()
Obtain DBMS specific SQL code portion needed to declare a boolean type field to be used in statements like CREATE TABLE.
- _getCLOBDeclaration
- 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.
- _getDateDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getDateDeclaration()
Obtain DBMS specific SQL code portion needed to declare a date type field to be used in statements like CREATE TABLE.
- _getDecimalDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getDecimalDeclaration()
Obtain DBMS specific SQL code portion needed to declare a decimal type field to be used in statements like CREATE TABLE.
- _getDeclaration
- 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.
- _getFloatDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getFloatDeclaration()
Obtain DBMS specific SQL code portion needed to declare a float type field to be used in statements like CREATE TABLE.
- _getIntegerDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getIntegerDeclaration()
Obtain DBMS specific SQL code portion needed to declare an integer type field to be used in statements like CREATE TABLE.
- _getTextDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getTextDeclaration()
Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.
- _getTimeDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getTimeDeclaration()
Obtain DBMS specific SQL code portion needed to declare a time field to be used in statements like CREATE TABLE.
- _getTimestampDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::_getTimestampDeclaration()
Obtain DBMS specific SQL code portion needed to declare a timestamp field to be used in statements like CREATE TABLE.
- _modifyQuery
- in file MDB2.php, method MDB2_Driver_Common::_modifyQuery()
Changes a query string for various DBMS specific reasons
- _quoteBLOB
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteBLOB()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteBoolean
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteBoolean()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteCLOB
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteCLOB()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteDate
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteDate()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteDecimal
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteDecimal()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteFloat
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteFloat()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteInteger
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteInteger()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteLOB
- 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.
- _quoteText
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteText()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteTime
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteTime()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _quoteTimestamp
- in file Common.php, method MDB2_Driver_Datatype_Common::_quoteTimestamp()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- _readFile
- 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.
- _readLOB
- in file Common.php, method MDB2_Driver_Datatype_Common::_readLOB()
Read data from large object input stream.
- _retrieveLOB
- in file Common.php, method MDB2_Driver_Datatype_Common::_retrieveLOB()
retrieve LOB from the database
- _wrapResult
- in file MDB2.php, method MDB2_Driver_Common::_wrapResult()
wrap a result set into the correct class
- __toString
- in file MDB2.php, method MDB2_Driver_Common::__toString()
String conversation
top
top
top
c
- $connected_database_name
- in file MDB2.php, variable MDB2_Driver_Common::$connected_database_name
the name of the database currrently selected
- $connected_dsn
- in file MDB2.php, variable MDB2_Driver_Common::$connected_dsn
DSN that was used to create the current connection
- $connection
- in file MDB2.php, variable MDB2_Driver_Common::$connection
connection resource
- checkResultTypes
- in file Common.php, method MDB2_Driver_Datatype_Common::checkResultTypes()
Define the list of types to be associated with the columns of a given result set.
- commit
- in file Driver_skeleton.php, method MDB2_xxx::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.
- 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.
- compareDefinition
- in file MDB2.php, method MDB2_Driver_Common::compareDefinition()
Obtain an array of changes that may need to applied
- compareDefinition
- in file Common.php, method MDB2_Driver_Datatype_Common::compareDefinition()
Obtain an array of changes that may need to applied
- concat
- in file Common.php, method MDB2_Driver_Function_Common::concat()
returns string to concatenate two or more string parameters
- connect
- in file Driver_skeleton.php, method MDB2_xxx::connect()
Connect to the database
- connect
- in file MDB2.php, method MDB2::connect()
Create a new MDB2 connection object and connect to the specified database
- convertResult
- in file Driver_Datatype_skeleton.php, method MDB2_Datatype_xxx::convertResult()
convert a value to a RDBMS indepdenant MDB2 type
- convertResult
- in file Common.php, method MDB2_Driver_Datatype_Common::convertResult()
convert a value to a RDBMS indepdenant MDB2 type
- convertResultRow
- in file Common.php, method MDB2_Driver_Datatype_Common::convertResultRow()
convert a result row
- createConstraint
- in file Common.php, method MDB2_Driver_Manager_Common::createConstraint()
create a constraint on a table
- createDatabase
- in file Common.php, method MDB2_Driver_Manager_Common::createDatabase()
create a new database
- createDatabase
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::createDatabase()
create a new database
- createIndex
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::createIndex()
get the stucture of a field into an array
- createIndex
- in file Common.php, method MDB2_Driver_Manager_Common::createIndex()
get the stucture of a field into an array
- createSequence
- in file Common.php, method MDB2_Driver_Manager_Common::createSequence()
create sequence
- createSequence
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::createSequence()
create sequence
- createTable
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::createTable()
create a new table
- createTable
- in file Common.php, method MDB2_Driver_Manager_Common::createTable()
create a new table
- current
- in file Iterator.php, method MDB2_Iterator::current()
return a row of data
- currID
- in file MDB2.php, method MDB2_Driver_Common::currID()
returns the current id of a sequence
- currID
- in file Driver_skeleton.php, method MDB2_xxx::currID()
returns the current id of a sequence
- Common.php
- procedural page Common.php
- Common.php
- procedural page Common.php
- Common.php
- procedural page Common.php
- Common.php
- procedural page Common.php
- clitest.php
- procedural page clitest.php
- config.php
- procedural page config.php
- Console_TestListener.php
- procedural page Console_TestListener.php
- count
- in file Iterator.php, method MDB2_BufferedIterator::count() (subpackage: MDB2)
returns the number of rows in a result object
top
d
- $database_name
- in file MDB2.php, variable MDB2_Driver_Common::$database_name
the name of the database for the next query
- $dbsyntax
- in file MDB2.php, variable MDB2_Driver_Common::$dbsyntax
Database used with regards to SQL syntax etc.
- $db_index
- in file LOB.php, variable MDB2_LOB::$db_index
contains the key to the global MDB2 instance array of the associated MDB2 instance
- $db_index
- in file MDB2.php, variable MDB2_Driver_Common::$db_index
index of the MDB2 object within the $GLOBALS['_MDB2_databases'] array
- $debug_output
- in file MDB2.php, variable MDB2_Driver_Common::$debug_output
string with the debugging information
- $destructor_registered
- in file MDB2.php, variable MDB2_Driver_Common::$destructor_registered
determines of the PHP4 destructor emulation has been enabled yet
- $dsn
- in file MDB2.php, variable MDB2_Driver_Common::$dsn
DSN used for the next query
- date2Mdbstamp
- in file Date.php, method MDB2_Date::date2Mdbstamp()
convert a date into a MDB2 timestamp
- debug
- in file MDB2.php, method MDB2_Driver_Common::debug()
set a debug message
- destroyLOB
- in file Common.php, method MDB2_Driver_Datatype_Common::destroyLOB()
Free any resources allocated during the lifetime of the large object handler object.
- disconnect
- in file Driver_skeleton.php, method MDB2_xxx::disconnect()
Log out and disconnect from the database.
- disconnect
- in file MDB2.php, method MDB2_Driver_Common::disconnect()
Log out and disconnect from the database.
- dropConstraint
- in file Common.php, method MDB2_Driver_Manager_Common::dropConstraint()
drop existing constraint
- dropDatabase
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::dropDatabase()
drop an existing database
- dropDatabase
- in file Common.php, method MDB2_Driver_Manager_Common::dropDatabase()
drop an existing database
- dropIndex
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::dropIndex()
drop existing index
- dropIndex
- in file Common.php, method MDB2_Driver_Manager_Common::dropIndex()
drop existing index
- dropSequence
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::dropSequence()
drop existing sequence
- dropSequence
- in file Common.php, method MDB2_Driver_Manager_Common::dropSequence()
drop existing sequence
- dropTable
- in file Common.php, method MDB2_Driver_Manager_Common::dropTable()
drop an existing table
- DSN_DATABASE
- in file config.php, constant DSN_DATABASE
- DSN_HOSTNAME
- in file config.php, constant DSN_HOSTNAME
- DSN_PASSWORD
- in file config.php, constant DSN_PASSWORD
- DSN_PHPTYPE
- in file config.php, constant DSN_PHPTYPE
Constants used in PackageName_MDB2
- DSN_USERNAME
- in file config.php, constant DSN_USERNAME
- Driver_Datatype_skeleton.php
- procedural page Driver_Datatype_skeleton.php
- Driver_Manager_skeleton.php
- procedural page Driver_Manager_skeleton.php
- Driver_Native_skeleton.php
- procedural page Driver_Native_skeleton.php
- Driver_Reverse_skeleton.php
- procedural page Driver_Reverse_skeleton.php
- Driver_skeleton.php
- procedural page Driver_skeleton.php
- Date.php
- procedural page Date.php
top
e
- $escape_quotes
- in file Driver_skeleton.php, variable MDB2_xxx::$escape_quotes
- $escape_quotes
- in file MDB2.php, variable MDB2_Driver_Common::$escape_quotes
escape character
- errorHandler
- in file testUtils.php, function errorHandler()
- errorHandlerPEAR
- in file testUtils.php, function errorHandlerPEAR()
- errorInfo
- in file MDB2.php, method MDB2_Driver_Common::errorInfo()
This method is used to collect information about an error
- errorInfo
- in file Driver_skeleton.php, method MDB2_xxx::errorInfo()
This method is used to collect information about an error
- errorMessage
- 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
- executeMultiple
- in file Extended.php, method MDB2_Extended::executeMultiple()
This function does several execute() calls on the same statement handle.
- executeStoredProc
- in file Common.php, method MDB2_Driver_Function_Common::executeStoredProc()
Execute a stored procedure and return any results
- example.php
- procedural page example.php
- Extended.php
- procedural page Extended.php
top
top
g
- get
- in file Driver_Datatype_skeleton.php, method MDB2_Datatype_xxx::get()
- getAfterID
- in file Extended.php, method MDB2_Extended::getAfterID()
returns the autoincrement ID if supported or $id
- getAll
- 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.
- getBacktrace
- in file testUtils.php, function getBacktrace()
Little helper function that gets a backtrace if available
- 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.
- getConnection
- in file MDB2.php, method MDB2_Driver_Common::getConnection()
Returns a native connection
- getDatabase
- in file MDB2.php, method MDB2_Driver_Common::getDatabase()
get the current database
- getDebugOutput
- in file MDB2.php, method MDB2_Driver_Common::getDebugOutput()
output debug info
- getDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::getDeclaration()
Obtain DBMS specific SQL code portion needed to declare of the given type
- getDeclaration
- in file MDB2.php, method MDB2_Driver_Common::getDeclaration()
Obtain DBMS specific SQL code portion needed to declare of the given type
- getDSN
- in file MDB2.php, method MDB2_Driver_Common::getDSN()
return the DSN as a string
- getFieldDeclarationList
- in file Common.php, method MDB2_Driver_Manager_Common::getFieldDeclarationList()
get declaration of a number of field in bulk
- getIndexName
- in file MDB2.php, method MDB2_Driver_Common::getIndexName()
adds index name formatting to a index name
- getOne
- in file Extended.php, method MDB2_Extended::getOne()
Fetch the first column of the first row of data returned from a query.
- getOption
- in file MDB2.php, method MDB2_Driver_Common::getOption()
returns the value of an option
- getRow
- 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.
- getSequenceDefinition
- in file Common.php, method MDB2_Driver_Reverse_Common::getSequenceDefinition()
get the stucture of a sequence into an array
- getSequenceDefinition
- in file Driver_Reverse_skeleton.php, method MDB2_Reverse_xxx::getSequenceDefinition()
get the stucture of a sequence into an array
- getSequenceName
- in file MDB2.php, method MDB2_Driver_Common::getSequenceName()
adds sequence name formatting to a sequence name
- getServerVersion
- in file MDB2.php, method MDB2_Driver_Common::getServerVersion()
return version information about the server
- getTableConstraintDefinition
- in file Common.php, method MDB2_Driver_Reverse_Common::getTableConstraintDefinition()
get the stucture of an constraints into an array
- getTableFieldDefinition
- in file Driver_Reverse_skeleton.php, method MDB2_Reverse_xxx::getTableFieldDefinition()
get the stucture of a field into an array
- getTableFieldDefinition
- in file Common.php, method MDB2_Driver_Reverse_Common::getTableFieldDefinition()
get the stucture of a field into an array
- getTableIndexDefinition
- in file Driver_Reverse_skeleton.php, method MDB2_Reverse_xxx::getTableIndexDefinition()
get the stucture of an index into an array
- getTableIndexDefinition
- in file Common.php, method MDB2_Driver_Reverse_Common::getTableIndexDefinition()
get the stucture of an index into an array
- getTests
- in file testUtils.php, function getTests()
given a class name it returns an array of test* methods
- getTypeDeclaration
- in file Common.php, method MDB2_Driver_Datatype_Common::getTypeDeclaration()
Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.
- getWarnings
- in file MDB2.php, method MDB2_Driver_Common::getWarnings()
get all warnings in reverse order.
- grepForTest
- in file testUtils.php, function grepForTest()
this is used (with array filter) to filter out the test*
top
top
top
top
l
- $last_query
- in file MDB2.php, variable MDB2_Driver_Common::$last_query
the last query sent to the driver
- $limit
- in file MDB2.php, variable MDB2_Driver_Common::$limit
result limit used in the next query
- $lob
- in file LOB.php, variable MDB2_LOB::$lob
LOB data
- $lobs
- in file Common.php, variable MDB2_Driver_Datatype_Common::$lobs
contains all LOB objects created with this MDB2 instance
- $lob_index
- 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
- limitQuery
- in file Extended.php, method MDB2_Extended::limitQuery()
Generates a limited query
- listDatabases
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listDatabases()
list all databases
- listDatabases
- in file Common.php, method MDB2_Driver_Manager_Common::listDatabases()
list all databases
- listFunctions
- in file Common.php, method MDB2_Driver_Manager_Common::listFunctions()
list all functions in the current database
- listSequences
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listSequences()
list all sequences in the current database
- listSequences
- in file Common.php, method MDB2_Driver_Manager_Common::listSequences()
list all sequences in the current database
- listTableConstraints
- in file Common.php, method MDB2_Driver_Manager_Common::listTableConstraints()
list all sonstraints in a table
- listTableFields
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listTableFields()
list all fields in a tables in the current database
- listTableFields
- in file Common.php, method MDB2_Driver_Manager_Common::listTableFields()
list all fields in a tables in the current database
- listTableIndexes
- in file Common.php, method MDB2_Driver_Manager_Common::listTableIndexes()
list all indexes in a table
- listTableIndexes
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listTableIndexes()
list all indexes in a table
- listTables
- in file Common.php, method MDB2_Driver_Manager_Common::listTables()
list all tables in the current database
- listTables
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listTables()
list all tables in the current database
- listUsers
- in file Common.php, method MDB2_Driver_Manager_Common::listUsers()
list all users
- listUsers
- in file Driver_Manager_skeleton.php, method MDB2_Driver_Manager_xxx::listUsers()
list all users
- listViews
- in file Common.php, method MDB2_Driver_Manager_Common::listViews()
list all views in the current database
- loadFile
- in file MDB2.php, method MDB2::loadFile()
load a file (like 'Date')
- loadModule
- in file MDB2.php, method MDB2_Driver_Common::loadModule()
loads a module
- LOB.php
- procedural page LOB.php
top
m
- $modules
- in file MDB2.php, variable MDB2_Driver_Common::$modules
array of module instances
- MDB2
- 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.
- MDB2.php
- procedural page MDB2.php
- MDB2_api_testcase.php
- procedural page MDB2_api_testcase.php
- MDB2_bugs_testcase.php
- procedural page MDB2_bugs_testcase.php
- MDB2_Connect_Test.php
- procedural page MDB2_Connect_Test.php
- MDB2_datatype_testcase.php
- procedural page MDB2_datatype_testcase.php
- MDB2_function_testcase.php
- procedural page MDB2_function_testcase.php
- MDB2_manager_testcase.php
- procedural page MDB2_manager_testcase.php
- MDB2_native_testcase.php
- procedural page MDB2_native_testcase.php
- MDB2_reverse_testcase.php
- procedural page MDB2_reverse_testcase.php
- MDB2_testcase.php
- procedural page MDB2_testcase.php
- MDB2_usage_testcase.php
- procedural page MDB2_usage_testcase.php
- MDB2_AUTOQUERY_INSERT
- in file Extended.php, constant MDB2_AUTOQUERY_INSERT
Used by autoPrepare()
- MDB2_AUTOQUERY_UPDATE
- in file Extended.php, constant MDB2_AUTOQUERY_UPDATE
- MDB2_closeOpenTransactions
- in file MDB2.php, function MDB2_closeOpenTransactions()
close any open transactions form persistant connections
- MDB2_Datatype_xxx
- in file Driver_Datatype_skeleton.php, class MDB2_Datatype_xxx
MDB2 XXX driver
- MDB2_Date
- 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.
- MDB2_defaultDebugOutput
- in file MDB2.php, function MDB2_defaultDebugOutput()
default debug output handler
- MDB2_Driver_Common
- in file MDB2.php, method MDB2_Driver_Common::MDB2_Driver_Common()
PHP 4 Constructor
- MDB2_Driver_Common
- in file MDB2.php, class MDB2_Driver_Common
MDB2_Driver_Common: Base class that is extended by each MDB2 driver
- MDB2_Driver_Datatype_Common
- in file Common.php, class MDB2_Driver_Datatype_Common
MDB2_Driver_Common: Base class that is extended by each MDB2 driver
- MDB2_Driver_Function_Common
- in file Common.php, class MDB2_Driver_Function_Common
Base class for the function modules that is extended by each MDB2 driver
- MDB2_Driver_Manager_Common
- in file Common.php, class MDB2_Driver_Manager_Common
Base class for the management modules that is extended by each MDB2 driver
- MDB2_Driver_Manager_xxx
- in file Driver_Manager_skeleton.php, class MDB2_Driver_Manager_xxx
MDB2 Xxx driver for the management modules
- MDB2_Driver_Reverse_Common
- in file Common.php, class MDB2_Driver_Reverse_Common
Base class for the schema reverse engineering module that is extended by each MDB2 driver
- MDB2_Error
- in file MDB2.php, class MDB2_Error
MDB2_Error implements a class for reporting portable database error messages.
- MDB2_ERROR
- in file MDB2.php, constant MDB2_ERROR
- MDB2_Error
- in file MDB2.php, method MDB2_Error::MDB2_Error()
MDB2_Error constructor.
- MDB2_ERROR_ACCESS_VIOLATION
- in file MDB2.php, constant MDB2_ERROR_ACCESS_VIOLATION
- MDB2_ERROR_ALREADY_EXISTS
- in file MDB2.php, constant MDB2_ERROR_ALREADY_EXISTS
- MDB2_ERROR_CANNOT_ALTER
- in file MDB2.php, constant MDB2_ERROR_CANNOT_ALTER
- MDB2_ERROR_CANNOT_CREATE
- in file MDB2.php, constant MDB2_ERROR_CANNOT_CREATE
- MDB2_ERROR_CANNOT_DELETE
- in file MDB2.php, constant MDB2_ERROR_CANNOT_DELETE
- MDB2_ERROR_CANNOT_DROP
- in file MDB2.php, constant MDB2_ERROR_CANNOT_DROP
- MDB2_ERROR_CANNOT_REPLACE
- in file MDB2.php, constant MDB2_ERROR_CANNOT_REPLACE
- MDB2_ERROR_CONNECT_FAILED
- in file MDB2.php, constant MDB2_ERROR_CONNECT_FAILED
- MDB2_ERROR_CONSTRAINT
- in file MDB2.php, constant MDB2_ERROR_CONSTRAINT
- MDB2_ERROR_CONSTRAINT_NOT_NULL
- in file MDB2.php, constant MDB2_ERROR_CONSTRAINT_NOT_NULL
- MDB2_ERROR_DEADLOCK
- in file MDB2.php, constant MDB2_ERROR_DEADLOCK
- MDB2_ERROR_DIVZERO
- in file MDB2.php, constant MDB2_ERROR_DIVZERO
- MDB2_ERROR_EXTENSION_NOT_FOUND
- in file MDB2.php, constant MDB2_ERROR_EXTENSION_NOT_FOUND
- MDB2_ERROR_INSUFFICIENT_DATA
- in file MDB2.php, constant MDB2_ERROR_INSUFFICIENT_DATA
- MDB2_ERROR_INVALID
- in file MDB2.php, constant MDB2_ERROR_INVALID
- MDB2_ERROR_INVALID_DATE
- in file MDB2.php, constant MDB2_ERROR_INVALID_DATE
- MDB2_ERROR_INVALID_DSN
- in file MDB2.php, constant MDB2_ERROR_INVALID_DSN
- MDB2_ERROR_INVALID_NUMBER
- in file MDB2.php, constant MDB2_ERROR_INVALID_NUMBER
- MDB2_ERROR_LOADMODULE
- in file MDB2.php, constant MDB2_ERROR_LOADMODULE
- MDB2_ERROR_MANAGER
- in file MDB2.php, constant MDB2_ERROR_MANAGER
- MDB2_ERROR_MANAGER_PARSE
- in file MDB2.php, constant MDB2_ERROR_MANAGER_PARSE
- MDB2_ERROR_MISMATCH
- in file MDB2.php, constant MDB2_ERROR_MISMATCH
- MDB2_ERROR_NEED_MORE_DATA
- in file MDB2.php, constant MDB2_ERROR_NEED_MORE_DATA
- MDB2_ERROR_NODBSELECTED
- in file MDB2.php, constant MDB2_ERROR_NODBSELECTED
- MDB2_ERROR_NOSUCHDB
- in file MDB2.php, constant MDB2_ERROR_NOSUCHDB
- MDB2_ERROR_NOSUCHFIELD
- in file MDB2.php, constant MDB2_ERROR_NOSUCHFIELD
- MDB2_ERROR_NOSUCHTABLE
- in file MDB2.php, constant MDB2_ERROR_NOSUCHTABLE
- MDB2_ERROR_NOT_CAPABLE
- in file MDB2.php, constant MDB2_ERROR_NOT_CAPABLE
- MDB2_ERROR_NOT_FOUND
- in file MDB2.php, constant MDB2_ERROR_NOT_FOUND
- MDB2_ERROR_NOT_LOCKED
- in file MDB2.php, constant MDB2_ERROR_NOT_LOCKED
- MDB2_ERROR_SYNTAX
- in file MDB2.php, constant MDB2_ERROR_SYNTAX
- MDB2_ERROR_TRUNCATED
- in file MDB2.php, constant MDB2_ERROR_TRUNCATED
- MDB2_ERROR_UNSUPPORTED
- in file MDB2.php, constant MDB2_ERROR_UNSUPPORTED
- MDB2_ERROR_VALUE_COUNT_ON_ROW
- in file MDB2.php, constant MDB2_ERROR_VALUE_COUNT_ON_ROW
- MDB2_Extended
- 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.
- MDB2_FETCHMODE_OBJECT
- in file MDB2.php, constant MDB2_FETCHMODE_OBJECT
Column data as object properties
- MDB2_FETCHMODE_ORDERED
- in file MDB2.php, constant MDB2_FETCHMODE_ORDERED
Column data indexed by numbers, ordered from 0 and up
- MDB2_Iterator
- in file Iterator.php, class MDB2_Iterator
- MDB2_LOB
- in file LOB.php, class MDB2_LOB
MDB2_LOB: user land stream wrapper implementation for LOB support
- MDB2_Native_xxx
- in file Driver_Native_skeleton.php, class MDB2_Native_xxx
MDB2 Xxx driver for the native module
- MDB2_OK
- in file MDB2.php, constant MDB2_OK
The method mapErrorCode in each MDB2_dbtype implementation maps native error codes to one of these.
- MDB2_PORTABILITY_ALL
- in file MDB2.php, constant MDB2_PORTABILITY_ALL
Portability: turn on all portability features.
- MDB2_PORTABILITY_DELETE_COUNT
- in file MDB2.php, constant MDB2_PORTABILITY_DELETE_COUNT
Portability: force reporting the number of rows deleted.
- MDB2_PORTABILITY_EMPTY_TO_NULL
- 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.
- MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES
- in file MDB2.php, constant MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES
Portability: removes database/table qualifiers from associative indexes
- MDB2_PORTABILITY_FIX_CASE
- 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()
- MDB2_PREPARE_RESULT
- in file MDB2.php, constant MDB2_PREPARE_RESULT
- MDB2_Reverse_xxx
- in file Driver_Reverse_skeleton.php, class MDB2_Reverse_xxx
MDB2 Xxx driver for the management modules
- MDB2_TABLEINFO_FULL
- in file Common.php, constant MDB2_TABLEINFO_FULL
- MDB2_TABLEINFO_ORDER
- in file Common.php, constant MDB2_TABLEINFO_ORDER
These are constants for the tableInfo-function
- MDB2_TABLEINFO_ORDERTABLE
- in file Common.php, constant MDB2_TABLEINFO_ORDERTABLE
- MDB2_xxx
- in file Driver_skeleton.php, method MDB2_xxx::MDB2_xxx()
Constructor
- MDB2_xxx
- in file Driver_skeleton.php, class MDB2_xxx
MDB2 XXX driver
- mdbNow
- in file Date.php, method MDB2_Date::mdbNow()
return the current datetime
- mdbstamp2Date
- 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
- mdbstamp2Unix
- in file Date.php, method MDB2_Date::mdbstamp2Unix()
convert a MDB2 timestamp into a unix timestamp
- mdbTime
- in file Date.php, method MDB2_Date::mdbTime()
return the current time
- mdbToday
- in file Date.php, method MDB2_Date::mdbToday()
return the current date
- MDB2_BufferedIterator
- in file Iterator.php, class MDB2_BufferedIterator (subpackage: MDB2)
top
top
top
top
q
- query
- in file Driver_skeleton.php, method MDB2_xxx::query()
Send a query to the database and return any results
- query
- in file MDB2.php, method MDB2_Driver_Common::query()
Send a query to the database and return any results
- queryAll
- 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 Driver_Datatype_skeleton.php, method MDB2_Datatype_xxx::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.
- 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.
- quoteBlob
- in file Driver_Datatype_skeleton.php, method MDB2_Datatype_xxx::quoteBlob()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- quoteClob
- in file Driver_Datatype_skeleton.php, method MDB2_Datatype_xxx::quoteClob()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
- quoteIdentifier
- in file MDB2.php, method MDB2_Driver_Common::quoteIdentifier()
Quote a string so it can be safely used as a table or column name
top
r
- 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.
- raiseError
- 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.
- replace
- in file Driver_skeleton.php, method MDB2_xxx::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.
- 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.
- resetWarnings
- in file MDB2.php, method MDB2_Driver_Common::resetWarnings()
reset the warning array
- rewind
- in file Iterator.php, method MDB2_Iterator::rewind()
seek to the first row in a result set
- rollback
- 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.
- rollback
- in file Driver_skeleton.php, method MDB2_xxx::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.
- rewind
- in file Iterator.php, method MDB2_BufferedIterator::rewind() (subpackage: MDB2)
seek to the first row in a result set
top
s
- $supported
- in file MDB2.php, variable MDB2_Driver_Common::$supported
list of all supported features of the given driver
- seek
- in file Iterator.php, method MDB2_Iterator::seek()
seek forward to a specific row in a result set
- setDatabase
- in file MDB2.php, method MDB2_Driver_Common::setDatabase()
Select a different database
- setDSN
- in file MDB2.php, method MDB2_Driver_Common::setDSN()
set the DSN
- setFetchMode
- in file MDB2.php, method MDB2_Driver_Common::setFetchMode()
Sets which fetch mode should be used by default on queries on this connection
- setLimit
- in file MDB2.php, method MDB2_Driver_Common::setLimit()
set the range of the next query
- setOption
- in file MDB2.php, method MDB2_Driver_Common::setOption()
set the option for the db class
- setOptions
- in file MDB2.php, method MDB2::setOptions()
set option array in an exiting database object
- singleton
- in file MDB2.php, method MDB2::singleton()
Returns a MDB2 connection with the requested DSN.
- standaloneQuery
- in file MDB2.php, method MDB2_Driver_Common::standaloneQuery()
execute a query as database administrator
- stream_close
- in file LOB.php, method MDB2_LOB::stream_close()
close stream
- stream_eof
- in file LOB.php, method MDB2_LOB::stream_eof()
check if stream reaches EOF
- stream_open
- in file LOB.php, method MDB2_LOB::stream_open()
open stream
- stream_read
- in file LOB.php, method MDB2_LOB::stream_read()
read stream
- stream_seek
- in file LOB.php, method MDB2_LOB::stream_seek()
seek stream, not implemented
- stream_tell
- in file LOB.php, method MDB2_LOB::stream_tell()
return the current position
- stream_write
- in file LOB.php, method MDB2_LOB::stream_write()
write stream, note implemented
- subSelect
- in file Driver_skeleton.php, method MDB2_xxx::subSelect()
simple subselect emulation for Mysql
- subSelect
- in file MDB2.php, method MDB2_Driver_Common::subSelect()
simple subselect emulation: leaves the query untouched for all RDBMS that support subselects
- substring
- in file Common.php, method MDB2_Driver_Function_Common::substring()
return string to call a function to get a substring inside an SQL statement
- supports
- in file MDB2.php, method MDB2_Driver_Common::supports()
Tell whether a DB implementation or its backend extension supports a given feature.
top
top
top
top
top
Documentation generated on Sun, 05 Feb 2006 11:03:35 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|
|