TYPO3 CMS  TYPO3_7-6
adodb-errorpear.inc.php File Reference

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
 

Function Documentation

◆ ADODB_Error_PEAR()

ADODB_Error_PEAR (   $dbms,
  $fn,
  $errno,
  $errmsg,
  $p1 = false,
  $p2 = false 
)

Error Handler with PEAR support. This will be called with the following params

Parameters
$dbmsthe RDBMS you are connecting to
$fnthe name of the calling function (in uppercase)
$errnothe native error number from the database
$errmsgthe native error msg from the database
$p1$fn specific parameter - see below
$P2$fn specific parameter - see below

Definition at line 44 of file adodb-errorpear.inc.php.

References $ADODB_Last_PEAR_Error, $database, $GLOBALS, $host, and $sql.

◆ ADODB_PEAR_Error()

ADODB_PEAR_Error ( )

Returns last PEAR_Error object. This error might be for an error that occured several sql statements ago.

Definition at line 83 of file adodb-errorpear.inc.php.

References $ADODB_Last_PEAR_Error.

Referenced by DB\connect().

Variable Documentation

◆ $ADODB_Last_PEAR_Error

$ADODB_Last_PEAR_Error = false

Definition at line 32 of file adodb-errorpear.inc.php.

Referenced by ADODB_Error_PEAR(), and ADODB_PEAR_Error().

◆ if

if(!defined('ADODB_PEAR_ERROR_CLASS')) define('ADODB_PEAR_ERROR_CLASS'
Version
v5.20.3 01-Jan-2016

Set tabs to 4 for best viewing.

Latest version is available at http://php.weblogs.com

Definition at line 17 of file adodb-errorpear.inc.php.