phpDocumentor default
[ class tree: default ] [ index: default ] [ all elements ]

Procedural File: adodb.inc.php

Source Location: /lodel/scripts/adodb/adodb.inc.php

Page Details
Filesource:  Source Code for this file
Classes
Class Description
ADOFieldObject Helper class for FetchFields -- holds info on a column
ADOConnection Connection object. For connecting to databases, and executing queries.
ADOFetchObj Internal placeholder for record objects. Used by ADORecordSet->FetchObj().
ADORecordSet_empty Lightweight recordset when there are no records to be returned
ADORecordSet RecordSet class that represents the dataset returned by the database.
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 (ADODB_DIR.'/adodb-time.inc.php') [line 2700]
[ Top ]

include_once (ADODB_DIR.'/adodb-iterator.inc.php') [line 2707]
[ Top ]

include_once (ADODB_DIR.'/adodb-php4.inc.php') [line 2706]
[ Top ]


Constants
ADODB_BAD_RS  [line 87]

ADODB_BAD_RS = '<p>Bad $rs in %s. Connection or SQL invalid. Try using $connection->debug=true;</p>'

[ Top ]

ADODB_DIR  [line 47]

ADODB_DIR = dirname(__FILE__)

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

This constant was formerly called $ADODB_RootPath


[ Top ]

ADODB_FETCH_ASSOC  [line 107]

ADODB_FETCH_ASSOC = 2

[ Top ]

ADODB_FETCH_BOTH  [line 108]

ADODB_FETCH_BOTH = 3

[ Top ]

ADODB_FETCH_DEFAULT  [line 105]

ADODB_FETCH_DEFAULT = 0

[ Top ]

ADODB_FETCH_NUM  [line 106]

ADODB_FETCH_NUM = 1

[ Top ]

ADODB_FORCE_EMPTY  [line 80]

ADODB_FORCE_EMPTY = 2

[ Top ]

ADODB_FORCE_IGNORE  [line 78]

ADODB_FORCE_IGNORE = 0

[ Top ]

ADODB_FORCE_NULL  [line 79]

ADODB_FORCE_NULL = 1

[ Top ]

ADODB_FORCE_VALUE  [line 81]

ADODB_FORCE_VALUE = 3

[ Top ]

ADODB_PHPVER  [line 115]

ADODB_PHPVER = 0x5200

[ Top ]

ADODB_PREFETCH_ROWS  [line 93]

ADODB_PREFETCH_ROWS = 10

[ Top ]

ADODB_TABLE_REGEX  [line 90]

ADODB_TABLE_REGEX = '([]0-9a-z_\:\"\`\.\@\[-]*)'

[ Top ]

TIMESTAMP_FIRST_YEAR  [line 110]

TIMESTAMP_FIRST_YEAR = 100

[ Top ]

_ADODB_LAYER  [line 36]

_ADODB_LAYER = 1

[ Top ]


Functions
adodb_backtrace  [line 4222]

void adodb_backtrace( [ $printOrArr = true], [ $levels = 9999]  )
Parameters:
   $printOrArr: 
   $levels: 


[ Top ]
adodb_pr  [line 4200]

void adodb_pr( $var, [ $as_string = false]  )
Parameters:
   $var: 
   $as_string: 


[ Top ]
ADODB_Setup  [line 149]

void ADODB_Setup( )


[ Top ]
ADODB_str_replace  [line 135]

void ADODB_str_replace( $src, $dest, $data  )
Parameters:
   $src: 
   $dest: 
   $data: 


[ Top ]
ADODB_TransMonitor  [line 220]

void ADODB_TransMonitor( $dbms, $fn, $errno, $errmsg, $p1, $p2, &$thisConnection  )
Parameters:
   $dbms: 
   $fn: 
   $errno: 
   $errmsg: 
   $p1: 
   $p2: 
   &$thisConnection: 


[ Top ]
ADOLoadCode  [line 3940]

void ADOLoadCode( $dbType  )

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

Parameters:
   $dbType: 


[ Top ]
ADOLoadDB  [line 3932]

void ADOLoadDB( $dbType  )

Synonym for ADOLoadCode. Private function. Do not use.

Parameters:
   $dbType: 

API Tags:
Deprecated:  


[ Top ]
ADONewConnection  [line 3988]

the &ADONewConnection( [[db] $db = '']  )

Instantiate a new Connection class for a specific database driver.

Parameters:
[db]   $db:  is the database Connection object to create. If undefined, use the last database driver that was loaded by ADOLoadCode().

API Tags:
Return:  freshly created instance of the Connection class.


[ Top ]
NewADOConnection  [line 3974]

void &NewADOConnection( [ $db = '']  )

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

Parameters:
   $db: 


[ Top ]
NewDataDictionary  [line 4169]

void &NewDataDictionary( &$conn, [ $drivername = false]  )
Parameters:
   &$conn: 
   $drivername: 


[ Top ]
NewPerfMonitor  [line 4155]

void &NewPerfMonitor( &$conn  )
Parameters:
   &$conn: 


[ Top ]
_adodb_getdriver  [line 4123]

void _adodb_getdriver( $provider, $drivername, [ $perf = false]  )
Parameters:
   $provider: 
   $drivername: 
   $perf: 


[ Top ]


Documentation generated on Thu, 24 Jul 2008 05:06:56 +0200 by phpDocumentor 1.4.0a2