Element index for package DB
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ _ ]
_
- _DB_storage
- in file storage.php, method DB_storage::_DB_storage()
Destructor, calls DB_storage::store() if there are changes that are to be kept.
top
top
c
- CASE_LOWER
- in file common.php, constant CASE_LOWER
- CASE_UPPER
- in file common.php, constant CASE_UPPER
- connect
- in file DB.php, method DB::connect()
Create a new DB connection object and connect to the specified database
- create
- in file storage.php, method DB_storage::create()
Static method used to create new DB storage objects.
- common.php
- procedural page common.php
top
d
- $dbh
- in file DB.php, variable DB_result::$dbh
- DB
- in file DB.php, class 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.
- dbase.php
- procedural page dbase.php
- DB.php
- procedural page DB.php
- DB_AUTOQUERY_INSERT
- in file DB.php, constant DB_AUTOQUERY_INSERT
- DB_AUTOQUERY_UPDATE
- in file DB.php, constant DB_AUTOQUERY_UPDATE
- DB_BINMODE_CONVERT
- in file DB.php, constant DB_BINMODE_CONVERT
- DB_BINMODE_PASSTHRU
- in file DB.php, constant DB_BINMODE_PASSTHRU
- DB_BINMODE_RETURN
- in file DB.php, constant DB_BINMODE_RETURN
- DB_ERROR
- in file DB.php, constant DB_ERROR
- DB_Error
- in file DB.php, class DB_Error
DB_Error implements a class for reporting portable database error messages.
- DB_Error
- in file DB.php, method DB_Error::DB_Error()
DB_Error constructor.
- DB_ERROR_ACCESS_VIOLATION
- in file DB.php, constant DB_ERROR_ACCESS_VIOLATION
- DB_ERROR_ALREADY_EXISTS
- in file DB.php, constant DB_ERROR_ALREADY_EXISTS
- DB_ERROR_CANNOT_CREATE
- in file DB.php, constant DB_ERROR_CANNOT_CREATE
- DB_ERROR_CANNOT_DELETE
- in file DB.php, constant DB_ERROR_CANNOT_DELETE
- DB_ERROR_CANNOT_DROP
- in file DB.php, constant DB_ERROR_CANNOT_DROP
- DB_ERROR_CONNECT_FAILED
- in file DB.php, constant DB_ERROR_CONNECT_FAILED
- DB_ERROR_CONSTRAINT
- in file DB.php, constant DB_ERROR_CONSTRAINT
- DB_ERROR_DIVZERO
- in file DB.php, constant DB_ERROR_DIVZERO
- DB_ERROR_EXTENSION_NOT_FOUND
- in file DB.php, constant DB_ERROR_EXTENSION_NOT_FOUND
- DB_ERROR_INVALID
- in file DB.php, constant DB_ERROR_INVALID
- DB_ERROR_INVALID_DATE
- in file DB.php, constant DB_ERROR_INVALID_DATE
- DB_ERROR_INVALID_DSN
- in file DB.php, constant DB_ERROR_INVALID_DSN
- DB_ERROR_INVALID_NUMBER
- in file DB.php, constant DB_ERROR_INVALID_NUMBER
- DB_ERROR_MISMATCH
- in file DB.php, constant DB_ERROR_MISMATCH
- DB_ERROR_NEED_MORE_DATA
- in file DB.php, constant DB_ERROR_NEED_MORE_DATA
- DB_ERROR_NODBSELECTED
- in file DB.php, constant DB_ERROR_NODBSELECTED
- DB_ERROR_NOSUCHDB
- in file DB.php, constant DB_ERROR_NOSUCHDB
- DB_ERROR_NOSUCHFIELD
- in file DB.php, constant DB_ERROR_NOSUCHFIELD
- DB_ERROR_NOSUCHTABLE
- in file DB.php, constant DB_ERROR_NOSUCHTABLE
- DB_ERROR_NOT_CAPABLE
- in file DB.php, constant DB_ERROR_NOT_CAPABLE
- DB_ERROR_NOT_FOUND
- in file DB.php, constant DB_ERROR_NOT_FOUND
- DB_ERROR_NOT_LOCKED
- in file DB.php, constant DB_ERROR_NOT_LOCKED
- DB_ERROR_SYNTAX
- in file DB.php, constant DB_ERROR_SYNTAX
- DB_ERROR_TRUNCATED
- in file DB.php, constant DB_ERROR_TRUNCATED
- DB_ERROR_UNSUPPORTED
- in file DB.php, constant DB_ERROR_UNSUPPORTED
- DB_ERROR_VALUE_COUNT_ON_ROW
- in file DB.php, constant DB_ERROR_VALUE_COUNT_ON_ROW
- DB_FETCHMODE_ASSOC
- in file DB.php, constant DB_FETCHMODE_ASSOC
Column data indexed by column names
- DB_FETCHMODE_DEFAULT
- in file DB.php, constant DB_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.
- DB_FETCHMODE_FLIPPED
- in file DB.php, constant DB_FETCHMODE_FLIPPED
For multi-dimensional results: normally the first level of arrays is the row number, and the second level indexed by column number or name.
- DB_FETCHMODE_OBJECT
- in file DB.php, constant DB_FETCHMODE_OBJECT
Column data as object properties
- DB_FETCHMODE_ORDERED
- in file DB.php, constant DB_FETCHMODE_ORDERED
Column data indexed by numbers, ordered from 0 and up
- DB_GETMODE_ASSOC
- in file DB.php, constant DB_GETMODE_ASSOC
- DB_GETMODE_FLIPPED
- in file DB.php, constant DB_GETMODE_FLIPPED
- DB_GETMODE_ORDERED
- in file DB.php, constant DB_GETMODE_ORDERED
- DB_OK
- in file DB.php, constant DB_OK
- DB_PARAM_MISC
- in file DB.php, constant DB_PARAM_MISC
- DB_PARAM_OPAQUE
- in file DB.php, constant DB_PARAM_OPAQUE
- DB_PARAM_SCALAR
- in file DB.php, constant DB_PARAM_SCALAR
- DB_result
- in file DB.php, class DB_result
This class implements a wrapper for a DB result set.
- DB_result
- in file DB.php, method DB_result::DB_result()
DB_result constructor.
- DB_storage
- in file storage.php, method DB_storage::DB_storage()
Constructor
- DB_storage
- in file storage.php, class DB_storage
DB_storage provides an object interface to a table row. It lets you add, delete and change rows without using SQL.
- DB_TABLEINFO_FULL
- in file DB.php, constant DB_TABLEINFO_FULL
- DB_TABLEINFO_ORDER
- in file DB.php, constant DB_TABLEINFO_ORDER
these are constants for the tableInfo-function
- DB_TABLEINFO_ORDERTABLE
- in file DB.php, constant DB_TABLEINFO_ORDERTABLE
- DB_WARNING
- in file DB.php, constant DB_WARNING
- DB_WARNING_READ_ONLY
- in file DB.php, constant DB_WARNING_READ_ONLY
- dump
- in file storage.php, method DB_storage::dump()
Dump the contents of this object to "standard output".
top
e
- errorMessage
- in file DB.php, method DB::errorMessage()
Return a textual error message for a DB error code
top
f
- fbsql.php
- procedural page fbsql.php
- factory
- in file DB.php, method DB::factory()
Create a new DB connection object for the specified database type
- fetchInto
- in file DB.php, method DB_result::fetchInto()
Fetch a row of data into an existing variable.
- fetchRow
- in file DB.php, method DB_result::fetchRow()
Fetch and return a row of data (it uses driver->fetchInto for that)
- free
- in file DB.php, method DB_result::free()
Frees the resources allocated for this result set.
top
top
i
- ibase.php
- procedural page ibase.php
- ifx.php
- procedural page ifx.php
- insert
- in file storage.php, method DB_storage::insert()
Create a new (empty) row in the configured table for this object.
- isConnection
- in file DB.php, method DB::isConnection()
Tell whether a value is a DB connection
- isError
- in file DB.php, method DB::isError()
Tell whether a result code from a DB method is an error
- isManip
- in file DB.php, method DB::isManip()
Tell whether a query is a data manipulation query (insert, update or delete) or a data definition query (create, drop, alter, grant, revoke).
top
top
top
top
top
top
top
s
- storage.php
- procedural page storage.php
- sybase.php
- procedural page sybase.php
- set
- in file storage.php, method DB_storage::set()
Modify an attriute value.
- setup
- in file storage.php, method DB_storage::setup()
Method used to initialize a DB_storage object from the configured table.
- store
- in file storage.php, method DB_storage::store()
Stores changes to this object in the database.
top
top
Documentation generated on Fri, 30 Apr 2004 23:19:42 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|
|