Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/adodb/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 ( 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.

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.

Here is the caller graph for this function:


Variable Documentation

$ADODB_Last_PEAR_Error = false

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

if(!defined('ADODB_PEAR_ERROR_CLASS')) define('ADODB_PEAR_ERROR_CLASS'
Version:
V5.14 8 Sept 2011 (c) 2000-2011 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.

 All Data Structures Namespaces Files Functions Variables Enumerations