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_LOB MDB2_LOB_Output_File MDB2_LOB_Result MDB2_Native_xxx MDB2_Reverse_xxx 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 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 peardb.php peardb_wrapper_example.php pgsql.php pgsql.php pgsql.php pgsql.php pgsql.php querysim.php sqlite.php sqlite.php sqlite.php sqlite.php sqlite.php |
[ Top ] $phptype =[line 1016] Database backend used in PHP (mysql, odbc etc.)
[ Top ] $row_limit = 0[line 1009] result limit used in the next query
[ Top ] $row_offset = 0[line 1002] result offset used in the next query
[ Top ] $supported = array()[line 918] list of all supported features of the given driver
[ Top ] $warnings = array()[line 981] warnings
[ Top ] Method DetailMDB2_Driver_Common (Constructor) [line 1098]__construct (Constructor) [line 1080]
Constructor Overridden in child classes as:
[ Top ]
__destruct (Destructor) [line 1109]beginTransaction [line 1587]
Start a transaction.
Overridden in child classes as:
[ Top ]
commit [line 1606]
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 ]
compareDefinition [line 2240]
Obtain an array of changes that may need to applied
Parameters:
[ Top ]
currID [line 2349]
returns the current id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
debug [line 1344]
set a debug message
Parameters:
[ Top ]
debugOutput [line 1360]
output debug info
[ Top ]
disconnect [line 1642]
Log out and disconnect from the database.
Overridden in child classes as:
[ Top ]
errorInfo [line 1152]
This method is used to collect information about an error
Overridden in child classes as:
Parameters:
[ Top ]
errorNative [line 1227]
returns an errormessage, provides by the database
[ Top ]
escape [line 1376]
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 2334]
returns the autoincrement ID if supported or $id
Overridden in child classes as:
Parameters:
[ Top ]
getBeforeID [line 2296]
returns the next free id of a sequence if the RDBMS does not support auto increment
Parameters:
[ Top ]
getDatabase [line 1673]getDeclaration [line 2220]
Obtain DBMS specific SQL code portion needed to declare of the given type
Parameters:
[ Top ]
getDSN [line 1711]
return the DSN as a string
Parameters:
[ Top ]
getOption [line 1326]
returns the value of an option
Parameters:
[ Top ]
getSequenceName [line 2275]
adds sequence name formating to a sequence name
Parameters:
[ Top ]
getWarnings [line 1256]
get all warnings in reverse order. This means that the last warning is the first element in the array
[ Top ]
loadModule [line 1479]
loads a module
Parameters:
[ Top ]
nextID [line 2317]
returns the next free id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
prepare [line 2113]
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 1820]
Send a query to the database and return any results
Overridden in child classes as:
Parameters:
[ Top ]
queryAll [line 2466]
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 2429]
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 2372]
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 2401]
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 2197]
Convert a text value into a DBMS specific format that is suitable to compose query statements.
Parameters:
[ Top ]
quoteIdentifier [line 1423]
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 1185]
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 2023]
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 1240]rollback [line 1625]
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 1657]
Select a different database
Parameters:
[ Top ]
setDSN [line 1688]
set the DSN
Parameters:
[ Top ]
setFetchMode [line 1281]
Sets which fetch mode should be used by default on queries on this connection
Parameters:
[ Top ]
setLimit [line 1912]
set the range of the next query
Parameters:
[ Top ]
setOption [line 1306]
set the option for the db class
Parameters:
[ Top ]
standaloneQuery [line 1746]
execute a query as database administrator
Overridden in child classes as:
Parameters:
[ Top ]
subSelect [line 1950]
simple subselect emulation: leaves the query untouched for all RDBMS that support subselects
Overridden in child classes as:
Parameters:
[ Top ]
supports [line 2260]
Tell whether a DB implementation or its backend extension supports a given feature.
Parameters:
[ Top ]
_convertEmptyArrayValuesToNull [line 1457]
Convert all empty values in an array to null strings
Parameters:
[ Top ]
_doQuery [line 1798]
Execute a query
Overridden in child classes as:
Parameters:
[ Top ]
_modifyQuery [line 1781]
Changes a query string for various DBMS specific reasons
Overridden in child classes as:
Parameters:
[ Top ]
_rtrimArrayValues [line 1438]
Right trim all strings in an array
Parameters:
[ Top ]
_wrapResult [line 1861]
wrap a result set into the correct class
Parameters:
[ Top ]
__call [line 1547]
Calls a module method using the __call magic method
Parameters:
[ Top ]
__toString [line 1132]Documentation generated on Mon, 11 Mar 2019 14:20:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |