MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: MDB2_Error

Source Location: /MDB2-2.5.0b3/MDB2.php

Class Overview

PEAR_Error
   |
   --MDB2_Error

MDB2_Error implements a class for reporting portable database error messages.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 959]
MDB2_Error implements a class for reporting portable database error messages.


[ Top ]


Method Detail

__construct (Constructor)   [line 971]

MDB2_Error __construct( [mixed $code = MDB2_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null], [ $dummy = null])

MDB2_Error constructor.

Parameters:

mixed   $code     MDB2 error code, or string with error message.
int   $mode     what 'error mode' to operate in
int   $level     what error level to use for $mode & PEAR_ERROR_TRIGGER
mixed   $debuginfo     additional debug info, such as the last query
   $dummy     

[ Top ]


Documentation generated on Sun, 29 Aug 2010 12:30:19 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.