Element index for package DB_DataObject
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ l ]
[ n ]
[ o ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ _ ]
_
- $_lastError
- in file DataObject.php, variable DB_DataObject::$_lastError
Last Error that has occured $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
- _call
- in file DataObject.php, method DB_DataObject::_call()
Overload Extension support - enables setCOLNAME/getCOLNAME
if you define a set/get method for the item it will be called.
- _loadConfig
- in file DataObject.php, method DB_DataObject::_loadConfig()
Define the global $_DB_DATAOBJECT['CONFIG'] as an alias to PEAR::getStaticProperty('DB_DataObject','options');
top
top
d
- database
- in file DataObject.php, method DB_DataObject::database()
Return or assign the name of the current database
- databaseStructure
- in file DataObject.php, method DB_DataObject::databaseStructure()
Autoload or manually load the table definitions
- 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_BLOB
- in file DataObject.php, constant DB_DATAOBJECT_BLOB
- 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
Theses are the standard error codes, most methods will fail silently - and return false
- DB_DATAOBJECT_ERROR_INVALIDCONFIG
- in file DataObject.php, constant DB_DATAOBJECT_ERROR_INVALIDCONFIG
- DB_DATAOBJECT_ERROR_INVALID_CALL
- in file DataObject.php, constant DB_DATAOBJECT_ERROR_INVALID_CALL
- DB_DATAOBJECT_ERROR_NOAFFECTEDROWS
- in file DataObject.php, constant DB_DATAOBJECT_ERROR_NOAFFECTEDROWS
- 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_ERROR_NOTSUPPORTED
- in file DataObject.php, constant DB_DATAOBJECT_ERROR_NOTSUPPORTED
- DB_DataObject_Generator
- in file Generator.php, class DB_DataObject_Generator
Generator class
- 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_MYSQLTIMESTAMP
- in file DataObject.php, constant DB_DATAOBJECT_MYSQLTIMESTAMP
- DB_DATAOBJECT_NOTNULL
- in file DataObject.php, constant DB_DATAOBJECT_NOTNULL
- 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
- DB_DATAOBJECT_WHEREADD_ONLY
- in file DataObject.php, constant DB_DATAOBJECT_WHEREADD_ONLY
Used in methods like delete() and count() to specify that the method should build the condition only out of the whereAdd's and not the object parameters.
- 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
- derivedHookFunctions
- in file Generator.php, method DB_DataObject_Generator::derivedHookFunctions()
hook to add extra methods to all classes
- derivedHookVar
- in file Generator.php, method DB_DataObject_Generator::derivedHookVar()
hook for var lines called each time a var line is generated, override to add extra var lines
top
top
top
g
- Generator.php
- procedural page Generator.php
- generateClasses
- in file Generator.php, method DB_DataObject_Generator::generateClasses()
- get
- in file DataObject.php, method DB_DataObject::get()
Get a result using key, value.
- getDatabaseConnection
- in file DataObject.php, method DB_DataObject::getDatabaseConnection()
Gets the DB object related to an object - so you can use funky peardb stuf with it :)
- getDatabaseResult
- in file DataObject.php, method DB_DataObject::getDatabaseResult()
Gets the DB result object related to the objects active query - so you can use funky pear stuff with it - like pager for example.. :)
- getLink
- in file DataObject.php, method DB_DataObject::getLink()
return name from related object
- getLinkArray
- in file DataObject.php, method DB_DataObject::getLinkArray()
IS THIS SUPPORTED/USED ANYMORE???? return a list of options for a linked table
- getLinks
- in file DataObject.php, method DB_DataObject::getLinks()
load related objects
- getProxyFull
- in file Generator.php, method DB_DataObject_Generator::getProxyFull()
getProxyFull - create a class definition on the fly and instantate it..
- groupBy
- in file DataObject.php, method DB_DataObject::groupBy()
Adds a group by condition
top
top
i
- insert
- in file DataObject.php, method DB_DataObject::insert()
Insert the current objects variables into the database
top
j
- joinAdd
- in file DataObject.php, method DB_DataObject::joinAdd()
joinAdd - adds another dataobject to this, building a joined query.
top
top
n
- $N
- in file DataObject.php, variable DB_DataObject::$N
The Number of rows returned from a query
top
top
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
top
t
- table
- in file DataObject.php, method DB_DataObject::table()
get/set an associative array of table columns
- tableName
- in file DataObject.php, method DB_DataObject::tableName()
Return or assign the name of the current table
- toArray
- in file DataObject.php, method DB_DataObject::toArray()
Returns an associative array from the current data (kind of oblivates the idea behind DataObjects, but is usefull if you use it with things like QuickForms.
- toValue
- in file DataObject.php, method DB_DataObject::toValue()
standard get* implementation.
top
u
- update
- in file DataObject.php, method DB_DataObject::update()
Updates current objects variables into the database uses the keys() to decide how to update Returns the true on success
top
top
top
Documentation generated on Sat, 1 May 2004 01:48:36 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|
|