MDB2 |
![]() |
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ] |
![]() |
Packages: MDB2 Classes:
DB
Files:DB_Error DB_result MDB2 MDB2_Datatype_xxx MDB2_Date MDB2_Driver_Common MDB2_Driver_Datatype_Common MDB2_Driver_Datatype_fbsql MDB2_Driver_Datatype_ibase MDB2_Driver_Datatype_mssql MDB2_Driver_Datatype_mysql MDB2_Driver_Datatype_mysqli MDB2_Driver_Datatype_oci8 MDB2_Driver_Datatype_pgsql MDB2_Driver_Datatype_sqlite MDB2_Driver_fbsql MDB2_Driver_ibase MDB2_Driver_Manager_Common MDB2_Driver_Manager_fbsql MDB2_Driver_Manager_ibase MDB2_Driver_Manager_mssql MDB2_Driver_Manager_mysql MDB2_Driver_Manager_mysqli MDB2_Driver_Manager_oci8 MDB2_Driver_Manager_pgsql MDB2_Driver_Manager_sqlite MDB2_Driver_Manager_xxx MDB2_Driver_mssql MDB2_Driver_mysql MDB2_Driver_mysqli MDB2_Driver_Native_fbsql MDB2_Driver_Native_ibase MDB2_Driver_Native_mssql MDB2_Driver_Native_mysql MDB2_Driver_Native_mysqli MDB2_Driver_Native_oci8 MDB2_Driver_Native_pgsql MDB2_Driver_Native_sqlite MDB2_Driver_oci8 MDB2_Driver_pgsql MDB2_Driver_querysim MDB2_Driver_Reverse_Common MDB2_Driver_Reverse_fbsql MDB2_Driver_Reverse_ibase MDB2_Driver_Reverse_mssql MDB2_Driver_Reverse_mysql MDB2_Driver_Reverse_mysqli MDB2_Driver_Reverse_oci8 MDB2_Driver_Reverse_pgsql MDB2_Driver_Reverse_sqlite MDB2_Driver_sqlite MDB2_Error MDB2_Extended MDB2_Iterator MDB2_Native_xxx MDB2_Reverse_xxx MDB2_Tools_Manager MDB2_Tools_Manager_Writer MDB2_xxx
Common.php
Common.php Common.php Date.php Driver_Datatype_skeleton.php Driver_Manager_skeleton.php Driver_Native_skeleton.php Driver_Reverse_skeleton.php Driver_skeleton.php example.php Extended.php fbsql.php fbsql.php fbsql.php fbsql.php fbsql.php ibase.php ibase.php ibase.php ibase.php ibase.php Iterator.php LOB.php Manager.php MDB2.php mssql.php mssql.php mssql.php mssql.php mssql.php mysql.php mysql.php mysql.php mysql.php mysql.php mysqli.php mysqli.php mysqli.php mysqli.php mysqli.php oci8.php oci8.php oci8.php oci8.php oci8.php Parser.php peardb.php peardb_wrapper_example.php pgsql.php pgsql.php pgsql.php pgsql.php pgsql.php querysim.php reverse_engineer_xml_schema.php sqlite.php sqlite.php sqlite.php sqlite.php sqlite.php Writer.php |
[ Top ] $supported = array()[line 884] list of all supported features of the given driver
[ Top ] Method Detail__construct (Constructor) [line 1038]
Constructor Overridden in child classes as:
[ Top ]
MDB2_Driver_Common (Constructor) [line 1056]__destruct (Destructor) [line 1067]beginTransaction [line 1510]
Start a transaction.
Overridden in child classes as:
[ Top ]
commit [line 1529]
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.
Overridden in child classes as:
[ Top ]
currID [line 2245]
returns the current id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
debug [line 1305]
set a debug message
Parameters:
[ Top ]
debugOutput [line 1321]
output debug info
[ Top ]
disconnect [line 1565]
Log out and disconnect from the database.
Overridden in child classes as:
[ Top ]
errorInfo [line 1110]
This method is used to collect information about an error
Overridden in child classes as:
Parameters:
[ Top ]
errorNative [line 1185]
returns an errormessage, provides by the database
[ Top ]
escape [line 1337]
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.
Overridden in child classes as:
Parameters:
[ Top ]
getAfterID [line 2230]
returns the autoincrement ID if supported or $id
Overridden in child classes as:
Parameters:
[ Top ]
getBeforeID [line 2192]
returns the next free id of a sequence if the RDBMS does not support auto increment
Parameters:
[ Top ]
getDatabase [line 1596]getDeclaration [line 2136]
Obtain DBMS specific SQL code portion needed to declare of the given type
Parameters:
[ Top ]
getDSN [line 1634]
return the DSN as a string
Parameters:
[ Top ]
getOption [line 1287]
returns the value of an option
Parameters:
[ Top ]
getSequenceName [line 2171]
adds sequence name formating to a sequence name
Parameters:
[ Top ]
getWarnings [line 1214]
get all warnings in reverse order. This means that the last warning is the first element in the array
[ Top ]
loadModule [line 1440]
loads a module
Parameters:
[ Top ]
nextID [line 2213]
returns the next free id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
prepare [line 2029]
Prepares a query for multiple execution with execute(). With some database backends, this is emulated. prepare() requires a generic query as string like 'INSERT INTO numbers VALUES(?,?)' or 'INSERT INTO numbers VALUES(:foo,:bar)'. The ? and :[a-zA-Z] and are placeholders which can be set using bindParam() and the query can be send off using the execute() method.
Overridden in child classes as:
Parameters:
[ Top ]
query [line 1740]
Send a query to the database and return any results
Overridden in child classes as:
Parameters:
[ Top ]
queryAll [line 2369]
Execute the specified query, fetch all the rows of the result set into a two dimensional array and then frees the result set.
Parameters:
[ Top ]
queryCol [line 2332]
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.
Parameters:
[ Top ]
queryOne [line 2275]
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.
Parameters:
[ Top ]
queryRow [line 2304]
Execute the specified query, fetch the values from the first row of the result set into an array and then frees the result set.
Parameters:
[ Top ]
quote [line 2113]
Convert a text value into a DBMS specific format that is suitable to compose query statements.
Parameters:
[ Top ]
quoteIdentifier [line 1384]
Quote a string so it can be safely used as a table or column name Delimiting style depends on which database driver is being used. NOTE: just because you CAN use delimited identifiers doesn't mean you SHOULD use them. In general, they end up causing way more problems than they solve. Portability is broken by using the following characters inside delimited identifiers:
Overridden in child classes as:
Parameters:
[ Top ]
raiseError [line 1143]
This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
Parameters:
[ Top ]
replace [line 1939]
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. The REPLACE type of query does not make part of the SQL standards. Since pratically only MySQL implements it natively, this type of query is emulated through this method for other DBMS using standard types of queries inside a transaction to assure the atomicity of the operation.
Overridden in child classes as:
Parameters:
[ Top ]
resetWarnings [line 1198]rollback [line 1548]
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.
Overridden in child classes as:
[ Top ]
setDatabase [line 1580]
Select a different database
Parameters:
[ Top ]
setDSN [line 1611]
set the DSN
Parameters:
[ Top ]
setFetchMode [line 1242]
Sets which fetch mode should be used by default on queries on this connection
Parameters:
[ Top ]
setLimit [line 1828]
set the range of the next query
Parameters:
[ Top ]
setOption [line 1267]
set the option for the db class
Parameters:
[ Top ]
standaloneQuery [line 1666]
execute a query as database administrator
Overridden in child classes as:
Parameters:
[ Top ]
subSelect [line 1866]
simple subselect emulation: leaves the query untouched for all RDBMS that support subselects
Overridden in child classes as:
Parameters:
[ Top ]
supports [line 2156]
Tell whether a DB implementation or its backend extension supports a given feature.
Parameters:
[ Top ]
__toString [line 1090]Documentation generated on Mon, 11 Mar 2019 14:28:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |