Top Level :: Database

Package Information: DB_DataObject 0.19

Show All Changelogs
» Version » Information
1.8.8 2008-01-30     stable
1.8.7 2007-07-12     stable
1.8.6 2007-07-10     stable
1.8.5 2006-12-15     stable
1.8.4 2006-03-06     stable
1.8.3 2006-03-03     stable
1.8.2 2006-01-21     stable
1.8.1 2006-01-20     stable
1.8.0 2005-12-28     stable
1.7.15 2005-07-07     stable
1.7.14 2005-06-25     stable
1.7.13 2005-03-24     stable
1.7.12 2005-03-23     stable
1.7.11 2005-03-22     stable
1.7.10 2005-03-16     stable
1.7.9 2005-03-12     stable
1.7.8 2005-03-12     stable
1.7.7 2005-03-07     stable
1.7.6 2005-03-05     stable
1.7.5 2005-03-02     stable
1.7.2 2004-08-28     stable
1.7.1 2004-08-09     stable
1.7.0 2004-08-07     stable
1.6.1 2004-06-03     stable
1.6.0 2004-06-02     stable
1.5.3 2004-01-29     stable
1.5.2 2004-01-24     stable
1.5.1 2004-01-22     stable
1.5 2004-01-20     stable
1.4 2003-12-20     stable
1.3 2003-11-15     stable
1.2 2003-08-25     stable
1.1 2003-08-09     stable
1.0.2 2003-07-31     stable
1.0.1 2003-07-18     stable
1.0 2003-07-16     stable
0.19Download

Release date: 2003-05-22 05:09 UTC
Release state: stable

Changelog:

- fix bug #23712 - deleting (and probably updating as well) an object while
being fetched. (Michael McCarthy for spotting this)

- fix generator overwriting code when file was edited in a Windows editor
(Robert Janeczek)

- validation will not produce errors on empty numeric data by default.

- overload extension enabled to relay setFrom and toArray calls to get*, set*
methods, which are predefined as
getXXX = returns $object->XXX
setXXX($V) = returns true (or an error string if you create your own)
(only affects php-4.3.2RC2 or later..)

- selectAs($dataobject,'prefix_%s') to help control the way join queries return
their data * doing selectAs() - clears the select and sets it to table.id as id ... etc.

- joinAdd has 2 extra optional arguments
$dataObject->joinAdd($otherDataObject, $joinType, $joinAs)
existing behaviour (INNER Joins) is default (eg. no value)
$joinType can be:
INNER,LEFT,RIGHT = eg. INNER JOIN ... etc.
'' = just added with a , and the link conditions are added with a WHERE statement.
$joinAs can be used to name the table differently in the join eg.
SELECT .. FROM person INNER JOIN address as homeaddress ......

- setFrom has an extra optional parameter for formating: eg.
$object->setFrom($_POST,'prefix_%s') would map prefix_name to $object->name
the default is '%s' which is the same as the previous behaviour

- added option dont_die (default no) to ini file
default (no) means that DataObjects will emit a PEAR_ERROR_DIE on configuration and
programming errors
true or 1 means that you can write a PEAR::error handler to catch the errors and
display a nice it's not working message

Dependencies:
  • PEAR Package: DB 1.3 or newer
  • PEAR Package: Validate 0.1.1 or newer
0.18 2003-04-17     stable
0.17 2003-03-12     stable
0.16 2003-03-11     stable
0.15 2003-02-25     stable
0.14 2003-02-06     stable
0.13 2003-01-23     stable
0.12 2003-01-22     stable
0.11 2003-01-21     stable
0.10 2002-12-09     stable
0.9 2002-12-06     stable
0.8 2002-12-05     stable
0.6 2002-09-10     beta
0.5 2002-09-07     beta
0.4 2002-08-21     beta
0.3 2002-08-16     beta
0.2 2002-07-12     beta