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

File: MDB.php

Source Location: /MDB-1.3.0/MDB.php

Classes:

MDB
The main 'MDB' 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.
MDB_Error
MDB_Error implements a class for reporting portable database error messages.

Page Details:

Includes:

require_once('PEAR.php') [line 47]

MDB_ERROR [line 58]

MDB_ERROR = -1

[ Top ]



MDB_ERROR_ACCESS_VIOLATION [line 84]

MDB_ERROR_ACCESS_VIOLATION = -27

[ Top ]



MDB_ERROR_ALREADY_EXISTS [line 62]

MDB_ERROR_ALREADY_EXISTS = -5

[ Top ]



MDB_ERROR_CANNOT_ALTER [line 88]

MDB_ERROR_CANNOT_ALTER = -31

[ Top ]



MDB_ERROR_CANNOT_CREATE [line 72]

MDB_ERROR_CANNOT_CREATE = -15

[ Top ]



MDB_ERROR_CANNOT_DELETE [line 73]

MDB_ERROR_CANNOT_DELETE = -16

[ Top ]



MDB_ERROR_CANNOT_DROP [line 74]

MDB_ERROR_CANNOT_DROP = -17

[ Top ]



MDB_ERROR_CANNOT_REPLACE [line 85]

MDB_ERROR_CANNOT_REPLACE = -28

[ Top ]



MDB_ERROR_CONNECT_FAILED [line 81]

MDB_ERROR_CONNECT_FAILED = -24

[ Top ]



MDB_ERROR_CONSTRAINT [line 60]

MDB_ERROR_CONSTRAINT = -3

[ Top ]



MDB_ERROR_CONSTRAINT_NOT_NULL [line 86]

MDB_ERROR_CONSTRAINT_NOT_NULL = -29

[ Top ]



MDB_ERROR_DEADLOCK [line 87]

MDB_ERROR_DEADLOCK = -30

[ Top ]



MDB_ERROR_DIVZERO [line 70]

MDB_ERROR_DIVZERO = -13

[ Top ]



MDB_ERROR_EXTENSION_NOT_FOUND [line 82]

MDB_ERROR_EXTENSION_NOT_FOUND = -25

[ Top ]



MDB_ERROR_INSUFFICIENT_DATA [line 92]

MDB_ERROR_INSUFFICIENT_DATA = -35

[ Top ]



MDB_ERROR_INVALID [line 65]

MDB_ERROR_INVALID = -8

[ Top ]



MDB_ERROR_INVALID_DATE [line 69]

MDB_ERROR_INVALID_DATE = -12

[ Top ]



MDB_ERROR_INVALID_DSN [line 80]

MDB_ERROR_INVALID_DSN = -23

[ Top ]



MDB_ERROR_INVALID_NUMBER [line 68]

MDB_ERROR_INVALID_NUMBER = -11

[ Top ]



MDB_ERROR_LOADMODULE [line 91]

MDB_ERROR_LOADMODULE = -34

[ Top ]



MDB_ERROR_MANAGER [line 89]

MDB_ERROR_MANAGER = -32

[ Top ]



MDB_ERROR_MANAGER_PARSE [line 90]

MDB_ERROR_MANAGER_PARSE = -33

[ Top ]



MDB_ERROR_MISMATCH [line 64]

MDB_ERROR_MISMATCH = -7

[ Top ]



MDB_ERROR_NEED_MORE_DATA [line 77]

MDB_ERROR_NEED_MORE_DATA = -20

[ Top ]



MDB_ERROR_NODBSELECTED [line 71]

MDB_ERROR_NODBSELECTED = -14

[ Top ]



MDB_ERROR_NOSUCHDB [line 83]

MDB_ERROR_NOSUCHDB = -26

[ Top ]



MDB_ERROR_NOSUCHFIELD [line 76]

MDB_ERROR_NOSUCHFIELD = -19

[ Top ]



MDB_ERROR_NOSUCHTABLE [line 75]

MDB_ERROR_NOSUCHTABLE = -18

[ Top ]



MDB_ERROR_NOT_CAPABLE [line 66]

MDB_ERROR_NOT_CAPABLE = -9

[ Top ]



MDB_ERROR_NOT_FOUND [line 61]

MDB_ERROR_NOT_FOUND = -4

[ Top ]



MDB_ERROR_NOT_LOCKED [line 78]

MDB_ERROR_NOT_LOCKED = -21

[ Top ]



MDB_ERROR_SYNTAX [line 59]

MDB_ERROR_SYNTAX = -2

[ Top ]



MDB_ERROR_TRUNCATED [line 67]

MDB_ERROR_TRUNCATED = -10

[ Top ]



MDB_ERROR_UNSUPPORTED [line 63]

MDB_ERROR_UNSUPPORTED = -6

[ Top ]



MDB_ERROR_VALUE_COUNT_ON_ROW [line 79]

MDB_ERROR_VALUE_COUNT_ON_ROW = -22

[ Top ]



MDB_FETCHMODE_ASSOC [line 110]

MDB_FETCHMODE_ASSOC = 2
Column data indexed by column names

[ Top ]



MDB_FETCHMODE_DEFAULT [line 98]

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

[ Top ]



MDB_FETCHMODE_FLIPPED [line 119]

MDB_FETCHMODE_FLIPPED = 4
For multi-dimensional results: normally the first level of arrays is the row number, and the second level indexed by column number or name.

MDB_FETCHMODE_FLIPPED switches this order, so the first level of arrays is the column name, and the second level the row number.


[ Top ]



MDB_FETCHMODE_ORDERED [line 104]

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

[ Top ]



MDB_OK [line 57]

MDB_OK = 1
The method mapErrorCode in each MDB_dbtype implementation maps native error codes to one of these.

If you add an error code here, make sure you also add a textual version of it in MDB::errorMessage().


[ Top ]



MDB_TABLEINFO_FULL [line 129]

MDB_TABLEINFO_FULL = 3

[ Top ]



MDB_TABLEINFO_ORDER [line 127]

MDB_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 MDB_TABLEINFO_FULL accordingly


[ Top ]



MDB_TABLEINFO_ORDERTABLE [line 128]

MDB_TABLEINFO_ORDERTABLE = 2

[ Top ]



MDB_TYPE_BLOB [line 144]

MDB_TYPE_BLOB = 9

[ Top ]



MDB_TYPE_BOOLEAN [line 136]

MDB_TYPE_BOOLEAN = 1

[ Top ]



MDB_TYPE_CLOB [line 143]

MDB_TYPE_CLOB = 8

[ Top ]



MDB_TYPE_DATE [line 140]

MDB_TYPE_DATE = 5

[ Top ]



MDB_TYPE_DECIMAL [line 138]

MDB_TYPE_DECIMAL = 3

[ Top ]



MDB_TYPE_FLOAT [line 139]

MDB_TYPE_FLOAT = 4

[ Top ]



MDB_TYPE_INTEGER [line 137]

MDB_TYPE_INTEGER = 2

[ Top ]



MDB_TYPE_TEXT [line 135]

MDB_TYPE_TEXT =
These are constants for each of the supported datatypes

[ Top ]



MDB_TYPE_TIME [line 141]

MDB_TYPE_TIME = 6

[ Top ]



MDB_TYPE_TIMESTAMP [line 142]

MDB_TYPE_TIMESTAMP = 7

[ Top ]



Documentation generated on Sun, 16 May 2004 05:23:38 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.