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

Element index for package DBA

[ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ n ] [ o ] [ r ] [ s ] [ t ]

b

Builtin.php
procedural page Builtin.php
benchmark_drivers.php
procedural page benchmark_drivers.php
top

c

close
in file File.php, method DBA_Driver_File::close()
    Closes an open database.
close
in file Builtin.php, method DBA_Driver_Builtin::close()
    Closes an open database.
create
in file Builtin.php, method DBA_Driver_Builtin::create()
    Creates a new database file if one does not exist. If it already exists, updates the last-updated timestamp on the database
create
in file DBA.php, method DBA::create()
    Creates a new DBA object
create
in file File.php, method DBA_Driver_File::create()
    Creates a new database file if one does not exist. If it already exists, updates the last-updated timestamp on the database
Compatibility.php
procedural page Compatibility.php
top

d

DBA
in file DBA.php, method DBA::DBA()
    Default constructor
DBA
in file DBA.php, class DBA
    DBA is a set of classes for handling and extending Berkeley DB style databases. It works around some of the quirks in the built-in dba functions in PHP (e.g. gdbm does not support dba_replace), has a file-based dbm engine for installations where dba support is not included in PHP.
DBA.php
procedural page DBA.php
dba_close
in file Compatibility.php, function dba_close()
dba_delete
in file Compatibility.php, function dba_delete()
DBA_Driver_Builtin
in file Builtin.php, class DBA_Driver_Builtin
    DBA_Driver_Builtin uses the builtin dba functions of PHP as the underlying driver for a DBA class. Depending on the driver, this can be faster or slower than the DBA_Driver_File class.
DBA_Driver_Builtin
in file Builtin.php, method DBA_Driver_Builtin::DBA_Driver_Builtin()
DBA_Driver_File
in file File.php, method DBA_Driver_File::DBA_Driver_File()
DBA_Driver_File
in file File.php, class DBA_Driver_File
    DBA_Driver_File provides a simple, file-based implementation of a
DBA_ERROR
in file DBA.php, constant DBA_ERROR
    If you add an error code here, make sure you also add a textual version of it in DBA::errorMessage().
DBA_Error
in file DBA.php, class DBA_Error
    DBA_Error implements a class for reporting portable database error messages. Based on the PEAR::MDB implementation.
DBA_Error
in file DBA.php, method DBA_Error::DBA_Error()
    DBA_Error constructor.
DBA_ERROR_ALREADY_EXISTS
in file DBA.php, constant DBA_ERROR_ALREADY_EXISTS
DBA_ERROR_CANNOT_CREATE
in file DBA.php, constant DBA_ERROR_CANNOT_CREATE
DBA_ERROR_CANNOT_DROP
in file DBA.php, constant DBA_ERROR_CANNOT_DROP
DBA_ERROR_CANNOT_OPEN
in file DBA.php, constant DBA_ERROR_CANNOT_OPEN
DBA_ERROR_INVALID_MODE
in file DBA.php, constant DBA_ERROR_INVALID_MODE
DBA_ERROR_NOSUCHDB
in file DBA.php, constant DBA_ERROR_NOSUCHDB
DBA_ERROR_NOT_FOUND
in file DBA.php, constant DBA_ERROR_NOT_FOUND
DBA_ERROR_NOT_OPEN
in file DBA.php, constant DBA_ERROR_NOT_OPEN
DBA_ERROR_NOT_READABLE
in file DBA.php, constant DBA_ERROR_NOT_READABLE
DBA_ERROR_NOT_WRITEABLE
in file DBA.php, constant DBA_ERROR_NOT_WRITEABLE
DBA_ERROR_NO_DBNAME
in file DBA.php, constant DBA_ERROR_NO_DBNAME
DBA_ERROR_NO_DRIVER
in file DBA.php, constant DBA_ERROR_NO_DRIVER
DBA_ERROR_UNSUP_DRIVER
in file DBA.php, constant DBA_ERROR_UNSUP_DRIVER
DBA_ERROR_UNSUP_PERSISTENCE
in file DBA.php, constant DBA_ERROR_UNSUP_PERSISTENCE
dba_exists
in file Compatibility.php, function dba_exists()
dba_fetch
in file Compatibility.php, function dba_fetch()
dba_firstkey
in file Compatibility.php, function dba_firstkey()
dba_insert
in file Compatibility.php, function dba_insert()
dba_nextkey
in file Compatibility.php, function dba_nextkey()
dba_open
in file Compatibility.php, function dba_open()
dba_optimize
in file Compatibility.php, function dba_optimize()
dba_popen
in file Compatibility.php, function dba_popen()
dba_replace
in file Compatibility.php, function dba_replace()
DBA_SIMPLE_KEY
in file File.php, constant DBA_SIMPLE_KEY
    Location in the index file for a block key
DBA_SIMPLE_LOC
in file File.php, constant DBA_SIMPLE_LOC
    Location in the index file for a block location
DBA_SIMPLE_SIZE
in file File.php, constant DBA_SIMPLE_SIZE
    Location in the index file for a block size
DBA_SIMPLE_VSIZE
in file File.php, constant DBA_SIMPLE_VSIZE
    Location in the index file for a block value size
dba_sync
in file Compatibility.php, function dba_sync()
db_drop
in file File.php, method DBA_Driver_File::db_drop()
    Removes a database from existence
db_drop
in file DBA.php, method DBA::db_drop()
    Deletes a DBA database from the filesystem
db_drop
in file Builtin.php, method DBA_Driver_Builtin::db_drop()
    Removes a database from existence
db_exists
in file File.php, method DBA_Driver_File::db_exists()
    Indicates whether a database with given name exists
db_exists
in file DBA.php, method DBA::db_exists()
    Returns whether a database exists
db_exists
in file Builtin.php, method DBA_Driver_Builtin::db_exists()
    Indicates whether a database with given name exists
drop
in file File.php, method DBA_Driver_File::drop()
    Removes the last open database from existence
drop
in file Builtin.php, method DBA_Driver_Builtin::drop()
    Removes the last open database from existence
top

e

errorMessage
in file DBA.php, method DBA::errorMessage()
    Return a textual error message for a DBA error code
exists
in file File.php, method DBA_Driver_File::exists()
    Check whether key exists
exists
in file Builtin.php, method DBA_Driver_Builtin::exists()
    Check whether key exists
top

f

File.php
procedural page File.php
fetch
in file File.php, method DBA_Driver_File::fetch()
    Returns the value that is stored at $key.
fetch
in file Builtin.php, method DBA_Driver_Builtin::fetch()
    Returns the value that is stored at $key.
firstkey
in file File.php, method DBA_Driver_File::firstkey()
    Returns the first key in the database
firstkey
in file Builtin.php, method DBA_Driver_Builtin::firstkey()
    Returns the first key in the database
top

g

getDriverList
in file DBA.php, method DBA::getDriverList()
    Returns an array of the currently supported drivers
getkeys
in file Builtin.php, method DBA_Driver_Builtin::getkeys()
    Returns all keys in the database
getkeys
in file File.php, method DBA_Driver_File::getkeys()
    Returns all keys in the database
getmicrotime
in file benchmark_drivers.php, function getmicrotime()
getName
in file File.php, method DBA_Driver_File::getName()
    Returns the name of the opened database. Assumes database is open
top

i

insert
in file Builtin.php, method DBA_Driver_Builtin::insert()
    Inserts a new value at $key. Will not overwrite if the key/value pair already exist
insert
in file File.php, method DBA_Driver_File::insert()
    Inserts a new value at $key. Will not overwrite if the key/value pair already exist
isError
in file DBA.php, method DBA::isError()
    Returns whether a result code from a DBA method is an error
isOpen
in file File.php, method DBA_Driver_File::isOpen()
    Returns the current open status for the database
isOpen
in file Builtin.php, method DBA_Driver_Builtin::isOpen()
    Returns the current open status for the database
isReadable
in file Builtin.php, method DBA_Driver_Builtin::isReadable()
    Returns the current read status for the database
isReadable
in file File.php, method DBA_Driver_File::isReadable()
    Returns the current read status for the database
isWritable
in file Builtin.php, method DBA_Driver_Builtin::isWritable()
    Returns the current write status for the database
isWritable
in file File.php, method DBA_Driver_File::isWritable()
    Returns the current write status for the database
top

n

nextkey
in file File.php, method DBA_Driver_File::nextkey()
    Returns the next key in the database, false if there is a problem
nextkey
in file Builtin.php, method DBA_Driver_Builtin::nextkey()
    Returns the next key in the database, false if there is a problem
top

o

open
in file File.php, method DBA_Driver_File::open()
    Opens a database.
open
in file Builtin.php, method DBA_Driver_Builtin::open()
    Opens a database.
optimize
in file File.php, method DBA_Driver_File::optimize()
    Optimizes an open database
optimize
in file Builtin.php, method DBA_Driver_Builtin::optimize()
    Optimizes an open database
top

r

raiseError
in file DBA.php, method DBA::raiseError()
    This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
remove
in file Builtin.php, method DBA_Driver_Builtin::remove()
    Removes the value at location $key
remove
in file File.php, method DBA_Driver_File::remove()
    Removes the value at location $key
reopen
in file File.php, method DBA_Driver_File::reopen()
    Reopens an already open database in read-only or write mode.
reopen
in file Builtin.php, method DBA_Driver_Builtin::reopen()
    Reopens an already open database in read-only or write mode.
replace
in file Builtin.php, method DBA_Driver_Builtin::replace()
    Inserts a new value at key. If the key/value pair already exist, overwrites the value
replace
in file File.php, method DBA_Driver_File::replace()
    Inserts a new value at key. If the key/value pair already exist, overwrites the value
top

s

size
in file File.php, method DBA_Driver_File::size()
    Calculates the size of the database in number of keys
size
in file Builtin.php, method DBA_Driver_Builtin::size()
    Calculates the size of the database in number of keys
sync
in file File.php, method DBA_Driver_File::sync()
    Synchronizes an open database to disk
sync
in file Builtin.php, method DBA_Driver_Builtin::sync()
    Synchronizes an open database to disk
top

t

test_compatibility.php
procedural page test_compatibility.php
test_drivers.php
procedural page test_drivers.php
top

Documentation generated on Mon, 16 Apr 2007 04:00:03 -0400 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.