[ANNOUNCEMENT] DB_DataObject-1.0 (stable) Released.
| From: | PEAR Announce | Date: | Wed, 16 Jul 2003 03:28:52 +0000 |
| Subject: | [ANNOUNCEMENT] DB_DataObject-1.0 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6624@lists.php.net to get a copy of this message | ||
The new PEAR package DB_DataObject-1.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Gold 1.0 Release.. - final stable release in this series. Future versions
(eg. 1.1.*(dev)->1.2.*(release)) series will be generally API compatible,
however is likely to use MDB rather than DB.
- fix bug #23983 - argument checking on whereAdd, orderBy, limit and a few others
(Mike Carter)
- fix bug with cache clearing not working with staticGet and update/insert
- null comparison for $object->var = 'null' will generate IS NULL query
- null insert/update works when using 'null' as a value.
- getLinks returns true on success
- getLinks now has a formatter eg. '_%s' is default to allow user to define the
format of variables to assign child objects to.
- generator uses UNIQUE only if no primary/autoincrement type field is found.
- added support for $object->having('sum(value) > 10');
- fetch will remove some query lines (so if you want to see how the query was built
you will have to print_r() the object after find(), and before fetch(), or just use
debugLevel(1)
- overload calls from setFrom and toArray do method checks, as overload is still proving to
be a little unstable especially with Zend Encoder. (Note: if DataObjects causes crashes
, remove the overload code at the bottom of DataObjects.php)
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.
Related Links
-------------
Package home: http://pear.php.net/package-info.php?package=DB_DataObject
Changelog: http://pear.php.net/package-changelog.php?package=DB_DataObject
Download: http://pear.php.net/get/DB_DataObject-1.0.tgz
Authors
-------------
Alan Knowles <alan@akbkhome.com> (lead)