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

Procedural File: adodb-pear.inc.php

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



Classes:

DB
The main "DB" class is simply a container class with some static methods for creating DB objects as well as some utility functions common to all parts of DB.


Page Details:



Includes:

include_once(ADODB_PEAR."/adodb.inc.php") [line 49]
include_once(ADODB_PEAR."/adodb-errorpear.inc.php") [line 48]
include_once(PEAR.php) [line 47]





ADODB_PEAR [line 46]

ADODB_PEAR = dirname(__FILE__)


Tags:

version:  

V5.06 16 Oct 2008 (c) 2000-2008 John Lim (jlim#natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

Set tabs to 4 for best viewing.

PEAR DB Emulation Layer for ADODB.

The following code is modelled on PEAR DB code by Stig Bakken <ssb@fast.no> | and Tomas V.V.Cox <cox@idecnet.com>. Portions (c)1997-2002 The PHP Group.


[ Top ]



DB_AUTOQUERY_INSERT [line 56]

DB_AUTOQUERY_INSERT = 1

[ Top ]



DB_AUTOQUERY_UPDATE [line 57]

DB_AUTOQUERY_UPDATE = 2

[ Top ]



DB_ERROR [line 53]

DB_ERROR = -1

[ Top ]



DB_FETCHMODE_ASSOC [line 76]

DB_FETCHMODE_ASSOC = 2
Column data indexed by column names


[ Top ]



DB_FETCHMODE_DEFAULT [line 64]

DB_FETCHMODE_DEFAULT = 0
This is a special constant that tells DB the user hasn't specified any particular get mode, so the default should be used.


[ Top ]



DB_FETCHMODE_ORDERED [line 70]

DB_FETCHMODE_ORDERED = 1
Column data indexed by numbers, ordered from 0 and up


[ Top ]



DB_GETMODE_ASSOC [line 81]

DB_GETMODE_ASSOC = DB_FETCHMODE_ASSOC

[ Top ]



DB_GETMODE_ORDERED [line 80]

DB_GETMODE_ORDERED = DB_FETCHMODE_ORDERED

[ Top ]



DB_OK [line 52]

DB_OK = 1

[ Top ]



DB_TABLEINFO_FULL [line 91]

DB_TABLEINFO_FULL = 3

[ Top ]



DB_TABLEINFO_ORDER [line 89]

DB_TABLEINFO_ORDER = 1
these are constants for the tableInfo-function

they are bitwised or'ed. so if there are more constants to be defined in the future, adjust DB_TABLEINFO_FULL accordingly



[ Top ]



DB_TABLEINFO_ORDERTABLE [line 90]

DB_TABLEINFO_ORDERTABLE = 2

[ Top ]




Documentation generated on Wed, 11 Mar 2009 10:48:41 +0100 by phpDocumentor 1.4.2