Class DBErrorToExceptionResult

Description

This class wraps the pears DB result object functions so that when an error is generated a new DBException is thrown instead.

All the functions of the pear DB result object are supported. Since this class mirrors the same functions of the pear DB result object, the original pear DB documentation should be referenced when implementation details are required.

Located in /DBErrorToException.class.php (line 640)


	
			
Variable Summary
mixed $DBresult
Method Summary
DBErrorToExceptionResult __construct (mixed $Inresult)
int fetchInto (array &$arr, [mixed $fetchMode = DB_FETCHMODE_DEFAULT], [int $rowNum = NULL], int $fetchmode)
mixed fetchRow ([int $fetchmode = DB_FETCHMODE_DEFAULT], [mixed $rownum = NULL], int $rowNum)
bool free ()
bool nextResult ()
int numCols ()
int numRows ()
Variables
mixed $DBresult (line 642)
  • access: protected
Methods
Constructor __construct (line 644)
DBErrorToExceptionResult __construct (mixed $Inresult)
fetchInto (line 656)
  • access: public
int fetchInto (array &$arr, [mixed $fetchMode = DB_FETCHMODE_DEFAULT], [int $rowNum = NULL], int $fetchmode)
  • array &$arr
  • int $fetchmode
  • int $rowNum
fetchRow (line 676)
  • access: public
mixed fetchRow ([int $fetchmode = DB_FETCHMODE_DEFAULT], [mixed $rownum = NULL], int $rowNum)
  • int $fetchmode
  • int $rowNum
free (line 694)
  • access: public
bool free ()
nextResult (line 703)
  • access: public
bool nextResult ()
numCols (line 712)
  • access: public
int numCols ()
numRows (line 730)
  • access: public
int numRows ()

Documentation generated on Wed, 07 Sep 2005 22:55:20 -0400 by phpDocumentor 1.3.0RC3