[ANNOUNCEMENT] DB_DataObject-1.5.2 (stable) Released.
| From: | PEAR Announce | Date: | Sat, 24 Jan 2004 08:38:02 +0000 |
| Subject: | [ANNOUNCEMENT] DB_DataObject-1.5.2 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10340@lists.php.net to get a copy of this message | ||
The new PEAR package DB_DataObject-1.5.2 (stable) has been released at http://pear.php.net/.
Release notes
-------------
Bug fix release.
Changes:
- removed automatic strtotime() in setters and setFrom
** this is closer to the previous behaviour (it caused too many problems with strange dates
** if you set a date/time column with a number, it assumes it is a unixtimestamp
-- enables you to write setters like
function setSome_Date($value) { $this->fromValue('some_date',strtotime($value)); }
Fixes
* $DB_DataObject->getDatabaseConnection() will return a pear error if dont_die is set,
so it can be used to test connections.
* note changed on databaseStructure, it can be called statically and dynamically.
* fix bug #612 databaseStructure('databasename') will output the ini file structure array
, with __keys
* fix bug #611 corrected comment about NO_OVERLOAD
* fix bug #603 to prevent clearing of queries after fetch, use the option keep_query_after_fetch = 1
* fix bug #359 (again) - _link_loaded array should only contain links that where sucessfully loaded
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-changelog.php?package=DB_DataObject
Download: http://pear.php.net/get/DB_DataObject-1.5.2.tgz
Authors
-------------
Alan Knowles <alan@akbkhome.com> (lead)