Element index for package apidoc
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ y ]
[ _ ]
_
- $_lastError
- in file DataObject.php, variable DB_DataObject::$_lastError
Last Error that has occured $last_error = PEAR::getStaticProperty('DB_DataObject','lastError');
- $_resultFields
- in file DataObject.php, variable DB_DataObject::$_resultFields
ResultFields - on the last call to fetch(), resultfields is sent here, so we can clean up the memory.
- _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');
- __call
- in file DataObject.php, method DB_DataObject_Overload::__call()
- __sleep
- in file DataObject.php, method DB_DataObject_Overload::__sleep()
top
a
- autoJoin
- in file DataObject.php, method DB_DataObject::autoJoin()
autoJoin - using the links.ini file, it builds a query with all the joins
top
top
top
d
- $day
- in file Cast.php, variable DB_DataObject_Cast::$day
Data For date representation
- 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
- date
- in file Cast.php, method DB_DataObject_Cast::date()
Date Constructor
- dateTime
- in file Cast.php, method DB_DataObject_Cast::dateTime()
DateTime Constructor
- DB_DataObject
- in file DataObject.php, class DB_DataObject
storage for connection and result objects, it is done this way so that print_r()'ing the is smaller, and it reduces the memory size of the object.
- DB_DataObject_Cast
- in file Cast.php, class DB_DataObject_Cast
Common usages:
- DB_DataObject_Overload
- in file DataObject.php, class DB_DataObject_Overload
storage for connection and result objects, it is done this way so that print_r()'ing the is smaller, and it reduces the memory size of the object.
- 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
top
e
- escape
- in file DataObject.php, method DB_DataObject::escape()
an escape wrapper around DB->escapeSimple() can be used when adding manual queries or clauses eg.
top
top
g
- 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()
deprecited : @use link()
- getLinkArray
- in file DataObject.php, method DB_DataObject::getLinkArray()
getLinkArray Fetch an array of related objects. This should be used in conjunction with a <dbname>.links.ini file configuration (see the introduction on linking for details on this).
- 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
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
top
top
n
- $N
- in file DataObject.php, variable DB_DataObject::$N
The Number of rows returned from a query
top
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
- $type
- in file Cast.php, variable DB_DataObject_Cast::$type
Type of data Stored in the object..
- 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
- time
- in file Cast.php, method DB_DataObject_Cast::time()
time Constructor
- 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.
- toString
- in file Cast.php, method DB_DataObject_Cast::toString()
get the string to use in the SQL statement for this...
- toStringFromBlob
- in file Cast.php, method DB_DataObject_Cast::toStringFromBlob()
get the string to use in the SQL statement from a blob of binary data ** Suppots only blob->postgres::bytea
- toStringFromDate
- in file Cast.php, method DB_DataObject_Cast::toStringFromDate()
get the string to use in the SQL statement for a date
- toStringFromDateTime
- in file Cast.php, method DB_DataObject_Cast::toStringFromDateTime()
get the string to use in the SQL statement for a datetime
- toStringFromSql
- in file Cast.php, method DB_DataObject_Cast::toStringFromSql()
get the string to use in the SQL statement for a raw sql statement.
- toStringFromString
- in file Cast.php, method DB_DataObject_Cast::toStringFromString()
get the string to use in the SQL statement for a blob from a string! ** Suppots only string->postgres::bytea
- toStringFromTime
- in file Cast.php, method DB_DataObject_Cast::toStringFromTime()
get the string to use in the SQL statement for a time
- toValue
- in file DataObject.php, method DB_DataObject::toValue()
standard get* implementation.
top
u
- unionAdd
- in file DataObject.php, method DB_DataObject::unionAdd()
unionAdd - adds another dataobject to this, building a unioned query.
- 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
- useIndex
- in file DataObject.php, method DB_DataObject::useIndex()
Adds a using Index
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 16:03:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|