Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ADOdb.php File Reference


Detailed Description

ADOdb database abstraction layer support functions.

Definition in file ADOdb/ADOdb.php.

Go to the source code of this file.

Enumerations

enum  ADODB_ERROR_HANDLER

Functions

 getDrivers ()
 _findDir ($search_dir, $starting_dir=null)
 _init ()
 fbADOLoadCode ($dbType)
 Load the code for a specific database driver.

fbADONewConnection ($db= '')
 Instantiate a new Connection class for a specific database driver.

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

Variables

 $GLOBALS ['ADODB_NEWCONNECTION'] = 'fbADONewConnection'
 return


Function Documentation

_findDir search_dir,
starting_dir = null
[static, private]
 

Parameters:
$search_dir string
$starting_dir string
Returns:
string

Definition at line 74 of file ADOdb/ADOdb.php.

Referenced by _init().

_init  )  [static, private]
 

Returns:
void

Definition at line 102 of file ADOdb/ADOdb.php.

References _findDir().

fb_adodb_error_handler dbms,
fn,
errno,
errmsg,
p1 = false,
p2 = false
 

Default error handler.

Parameters:
$dbms string RDBMS you are connecting to
$fn string name of the calling function (in uppercase)
$errno int native error number from the database
$errmsg string native error msg from the database
$p1 mixed ? $fn specific parameter - see below
$p2 mixed ? $fn specific parameter - see below

Definition at line 280 of file ADOdb/ADOdb.php.

fbADOLoadCode dbType  ) 
 

Load the code for a specific database driver.

Definition at line 119 of file ADOdb/ADOdb.php.

Referenced by fbADONewConnection().

& fbADONewConnection db = ''  ) 
 

Instantiate a new Connection class for a specific database driver.

Parameters:
[db] is the database Connection object to create. If undefined, use the last database driver that was loaded by ADOLoadCode().
Returns:
the freshly created instance of the Connection class.

Definition at line 175 of file ADOdb/ADOdb.php.

References fbADOLoadCode(), and fbConfig().

getDrivers  )  [static]
 

Returns:
hash

Definition at line 45 of file ADOdb/ADOdb.php.


Generated on Fri Mar 19 12:52:28 2004 for Freebeer by doxygen 1.3.6-20040222