TYPO3 CMS  TYPO3_6-2
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 42 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 81 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 30 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.19 23-Apr-2014 (c) 2000-2014 John Lim (jlim::natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

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.