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

Element index for package DB_DataObject

[ c ] [ d ] [ f ] [ g ] [ i ] [ l ] [ n ] [ o ] [ q ] [ r ] [ s ] [ u ] [ v ] [ w ] [ _ ]

_

$_lastError
in file DataObject.php, variable DB_DataObject::$_lastError
    Last Error that has occured
  • use $this->_lastError or
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
top

c

count
in file DataObject.php, method DB_DataObject::count()
    find the number of results from a simple query
createTables.php
procedural page createTables.php
top

d

DB_DataObject
in file DataObject.php, class DB_DataObject
    The main "DB_DataObject" class is really a base class for your own tables classes
DataObject.php
procedural page DataObject.php
DB_DATAOBJECT_BOOL
in file DataObject.php, constant DB_DATAOBJECT_BOOL
DB_DATAOBJECT_DATE
in file DataObject.php, constant DB_DATAOBJECT_DATE
DB_DATAOBJECT_ERROR_INVALIDARGS
in file DataObject.php, constant DB_DATAOBJECT_ERROR_INVALIDARGS
DB_DATAOBJECT_ERROR_INVALIDCONFIG
in file DataObject.php, constant DB_DATAOBJECT_ERROR_INVALIDCONFIG
DB_DATAOBJECT_ERROR_NOCLASS
in file DataObject.php, constant DB_DATAOBJECT_ERROR_NOCLASS
DB_DATAOBJECT_ERROR_NODATA
in file DataObject.php, constant DB_DATAOBJECT_ERROR_NODATA
DB_DATAOBJECT_INT
in file DataObject.php, constant DB_DATAOBJECT_INT
    these are constants for the get_table array user to determine what type of escaping is required around the object vars.
DB_DATAOBJECT_STR
in file DataObject.php, constant DB_DATAOBJECT_STR
DB_DATAOBJECT_TIME
in file DataObject.php, constant DB_DATAOBJECT_TIME
DB_DATAOBJECT_TXT
in file DataObject.php, constant DB_DATAOBJECT_TXT
debug
in file DataObject.php, method DB_DataObject::debug()
    Debugger. - use this in your extended classes to output debugging information.
debugLevel
in file DataObject.php, method DB_DataObject::debugLevel()
    sets and returns debug level eg. DB_DataObject::debugLevel(4);
delete
in file DataObject.php, method DB_DataObject::delete()
    Deletes items from table which match current objects variables
DB_DataObject_Generator
in file Generator.php, class DB_DataObject_Generator (subpackage: DB_DataObject-0.3)
    The main "DB_DataObject" class is really a base class for your own tables classes
top

f

fetch
in file DataObject.php, method DB_DataObject::fetch()
    fetches next row into this objects var's
fetchRow
in file DataObject.php, method DB_DataObject::fetchRow()
    fetches a specific row into this object variables
find
in file DataObject.php, method DB_DataObject::find()
    find results, either normal or crosstable
top

g

Generator.php
procedural page Generator.php
get
in file DataObject.php, method DB_DataObject::get()
    get an result using key, value
getLink
in file DataObject.php, method DB_DataObject::getLink()
    return name from related object
getLinkArray
in file DataObject.php, method DB_DataObject::getLinkArray()
getLinks
in file DataObject.php, method DB_DataObject::getLinks()
    load related objects
groupBy
in file DataObject.php, method DB_DataObject::groupBy()
    Adds a group by condition
generateClasses
in file Generator.php, method DB_DataObject_Generator::generateClasses() (subpackage: DB_DataObject-0.3)
top

i

insert
in file DataObject.php, method DB_DataObject::insert()
    Insert the current objects variables into the database
top

l

limit
in file DataObject.php, method DB_DataObject::limit()
    Sets the Limit
top

n

$N
in file DataObject.php, variable DB_DataObject::$N
    The Number of rows returned from a query
top

o

orderBy
in file DataObject.php, method DB_DataObject::orderBy()
    Adds a order by condition
top

q

query
in file DataObject.php, method DB_DataObject::query()
    sends raw query to database
top

r

raiseError
in file DataObject.php, method DB_DataObject::raiseError()
    Default error handling is to create a pear error, but never return it.
top

s

selectAdd
in file DataObject.php, method DB_DataObject::selectAdd()
    Adds a select columns
setFrom
in file DataObject.php, method DB_DataObject::setFrom()
    Copies items that are in the table definitions from an array or object into the current object will not override key values.
staticGet
in file DataObject.php, method DB_DataObject::staticGet()
    a autoloading, caching static get method using key, value (based on get)
staticInitialize
in file DataObject.php, method DB_DataObject::staticInitialize()
    Define the $GLOBALS['_DB_DATAOBJECT_PRODUCTION'] variable
start
in file Generator.php, method DB_DataObject_Generator::start() (subpackage: DB_DataObject-0.3)
    The 'starter' = call this to start the process
top

u

update
in file DataObject.php, method DB_DataObject::update()
    Updates current objects variables into the database uses the _get_keys() to decide how to update Returns the TRUE on success
top

v

validate
in file DataObject.php, method DB_DataObject::validate()
    validate - override this to set up your validation rules
top

w

whereAdd
in file DataObject.php, method DB_DataObject::whereAdd()
    Adds a condition to the WHERE statement, defaults to AND
top

Documentation generated on Fri, 30 Apr 2004 21:33:21 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.