File/3rd/adodb/adodb.inc.php

Description
Classes
Class Description
 class ADOFieldObject Helper class for FetchFields -- holds info on a column
 class ADOConnection Connection object. For connecting to databases, and executing queries.
 class ADOFetchObj Internal placeholder for record objects. Used by ADORecordSet->FetchObj().
 class ADORecordSet_empty Lightweight recordset when there are no records to be returned
 class ADORecordSet RecordSet class that represents the dataset returned by the database.
 class ADORecordSet_array This class encapsulates the concept of a recordset created in memory as an array. This is useful for the creation of cached recordsets.
Includes
 include_once (ADODB_DIR.'/adodb-iterator.inc.php') (line 2445)
 include_once (ADODB_DIR.'/adodb-time.inc.php') (line 2438)
 include_once (ADODB_DIR.'/adodb-php4.inc.php') (line 2444)
Constants
ADODB_BAD_RS = '<p>Bad $rs in %s. Connection or SQL invalid. Try using $connection->debug=true;</p>' (line 87)
ADODB_DIR = dirname(__FILE__) (line 48)

Set ADODB_DIR to the directory where this file resides...

This constant was formerly called $ADODB_RootPath

ADODB_FETCH_ASSOC = 2 (line 107)
ADODB_FETCH_BOTH = 3 (line 108)
ADODB_FETCH_DEFAULT = 0 (line 105)
ADODB_FETCH_NUM = 1 (line 106)
ADODB_FORCE_EMPTY = 2 (line 80)
ADODB_FORCE_IGNORE = 0 (line 78)
ADODB_FORCE_NULL = 1 (line 79)
ADODB_FORCE_VALUE = 3 (line 81)
ADODB_PHPVER = 0x5000 (line 115)
ADODB_PREFETCH_ROWS = 10 (line 93)
ADODB_TABLE_REGEX = '([]0-9a-z_\:\"\`\.\@\[-]*)' (line 90)
TIMESTAMP_FIRST_YEAR = 100 (line 110)
_ADODB_LAYER = 1 (line 37)
Functions
adodb_backtrace (line 3868)
void adodb_backtrace ([ $printOrArr = true], [ $levels = 9999])
  • $printOrArr
  • $levels
adodb_pr (line 3846)
void adodb_pr ( $var, [ $as_string = false])
  • $var
  • $as_string
ADODB_Setup (line 147)
void ADODB_Setup ()
ADODB_str_replace (line 133)
void ADODB_str_replace ( $src,  $dest,  $data)
  • $src
  • $dest
  • $data
ADODB_TransMonitor (line 216)
void ADODB_TransMonitor ( $dbms,  $fn,  $errno,  $errmsg,  $p1,  $p2,  &$thisConnection)
  • $dbms
  • $fn
  • $errno
  • $errmsg
  • $p1
  • $p2
  • &$thisConnection
ADOLoadCode (line 3611)

Load the code for a specific database driver. Private function. Do not use.

void ADOLoadCode ( $dbType)
  • $dbType
ADOLoadDB (line 3603)

Synonym for ADOLoadCode. Private function. Do not use.

  • deprecated:
void ADOLoadDB ( $dbType)
  • $dbType
ADONewConnection (line 3659)

Instantiate a new Connection class for a specific database driver.

  • return: freshly created instance of the Connection class.
the &ADONewConnection ([[db] $db = ''])
  • [db] $db: is the database Connection object to create. If undefined, use the last database driver that was loaded by ADOLoadCode().
NewADOConnection (line 3645)

synonym for ADONewConnection for people like me who cannot remember the correct name

void &NewADOConnection ([ $db = ''])
  • $db
NewDataDictionary (line 3815)
void &NewDataDictionary ( &$conn, [ $drivername = false])
  • &$conn
  • $drivername
NewPerfMonitor (line 3801)
void &NewPerfMonitor ( &$conn)
  • &$conn
_adodb_getdriver (line 3777)
void _adodb_getdriver ( $provider,  $drivername, [ $perf = false])
  • $provider
  • $drivername
  • $perf

Documentation generated on Wed, 23 Jan 2008 19:34:31 -0500 by phpDocumentor 1.4.0