For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > August 2004 > [ANNOUNCEMENT] DB_DataObject-1.7.0 (stable) Released.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANNOUNCEMENT] DB_DataObject-1.7.0 (stable) Released.
Pear Announce

2004-08-07, 3:55 am

The new PEAR package DB_DataObject-1.7.0 (stable) has been released at http://pear.php.net/.

Release notes
-------------
Major bug fix release, Minor features added.


Bug Fixes:
#1559 - __FUNCTION__ remove, so dependancy on php 4.2 may still be valid.
#1595 - regex include/exclude working correctly (Thanks to Stephane Gully)
#1664 - configuration line links_{databasename} now available
#1726 - enable orderby and limit can be used with delete()
#1697 - prevent generator from adding an extra line created after definition.
#1704 - update only adds null when the column is not marked 'not null'
#1778 - toArray() returns a merge of defined table and actual results
#1828 - Generator will die, if tableinfo is not supported.
#1833 - links() now returns an empty array (no links) or null (no links.ini)
so it can be used generically with : $ar = (array) $do->links();
#1835 - getLinks, getLink etc. now use ->links(), so you can define your
own links() to return table links, rather than use links.ini files.
#1923 - removed all @ silencers, and replace with empty/isset.
#1935 - selectAs() - removed double quoteIdentifiers
#2068 - workaround for DB bug, postgres nextval() being rawurlencoded
#1980 - logic error when using quoteIdentifiers

Changes:
* DebugLevel(1) now displays native errors from database when queries fail.
* Result Field names now stored seperately from Result Object
* free() method added, to clean up memory instantly, if you are doing alot of queries.
= Cleans Result Fields, Result Object, NumRows returned in Connection object.
* include path is used to do file hunting if factory fails to find file.
* DB is lazy loaded on connection.b

Package Info
-------------
DataObject performs 2 tasks:
1. Builds SQL statements based on the objects vars and the builder methods.
2. acts as a datastore for a table row.
The core class is designed to be extended for each of your tables so that you put the
data logic inside the data classes.
included is a Generator to make your configuration files and your base classes.
nd

Related Links
-------------
Package home: http://pear.php.net/package/DB_DataObject
Changelog: http://pear.php.net/package/DB_Data.../download/1.7.0
Download: http://pear.php.net/get/DB_DataObject-1.7.0.tgz

Authors
-------------
Alan Knowles <alan@akbkhome.com> (lead)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com