TYPO3 CMS
TYPO3_6-2
|
Go to the source code of this file.
Functions | |
ADODB_Error_PEAR ($dbms, $fn, $errno, $errmsg, $p1=false, $p2=false) | |
ADODB_PEAR_Error () | |
Variables | |
if (!defined( 'ADODB_ERROR_HANDLER')) define( 'ADODB_ERROR_HANDLER' | |
global | $ADODB_Last_PEAR_Error = false |
ADODB_Error_PEAR | ( | $dbms, | |
$fn, | |||
$errno, | |||
$errmsg, | |||
$p1 = false , |
|||
$p2 = false |
|||
) |
Error Handler with PEAR support. This will be called with the following params
$dbms | the RDBMS you are connecting to |
$fn | the name of the calling function (in uppercase) |
$errno | the native error number from the database |
$errmsg | the native error msg from the database |
$p1 | $fn specific parameter - see below |
$P2 | $fn specific parameter - see below |
Definition at line 42 of file adodb-errorpear.inc.php.
References $ADODB_Last_PEAR_Error, $database, $GLOBALS, $host, and $sql.
ADODB_PEAR_Error | ( | ) |
Returns last PEAR_Error object. This error might be for an error that occured several sql statements ago.
Definition at line 81 of file adodb-errorpear.inc.php.
References $ADODB_Last_PEAR_Error.
Referenced by DB\connect().
$ADODB_Last_PEAR_Error = false |
Definition at line 30 of file adodb-errorpear.inc.php.
Referenced by ADODB_Error_PEAR(), and ADODB_PEAR_Error().
if(!defined('ADODB_PEAR_ERROR_CLASS')) define('ADODB_PEAR_ERROR_CLASS' |
Set tabs to 4 for best viewing.
Latest version is available at http://php.weblogs.com
Definition at line 15 of file adodb-errorpear.inc.php.