» Version | » Information |
---|---|
2015-11-10 stable |
|
2015-04-08 stable |
|
2014-04-22 stable |
|
2013-04-05 stable |
|
2013-04-05 stable |
|
2013-04-03 stable |
|
2012-04-27 stable |
|
2011-08-29 stable |
|
2010-07-07 stable |
|
2010-06-21 stable |
|
2010-01-15 stable |
|
2009-12-03 stable |
|
2009-08-12 stable |
|
2009-07-16 stable |
|
2009-03-19 stable |
|
2009-03-12 stable |
|
2008-01-29 stable |
|
2007-07-11 stable |
|
2007-07-10 stable |
|
2006-12-14 stable |
|
2006-03-05 stable |
|
2006-03-03 stable |
|
2006-01-20 stable |
|
2006-01-20 stable |
|
2005-12-28 stable |
|
2005-07-07 stable |
|
2005-06-25 stable |
|
2005-03-24 stable |
|
2005-03-22 stable |
|
2005-03-21 stable |
|
2005-03-15 stable |
|
2005-03-12 stable |
|
2005-03-11 stable |
|
2005-03-06 stable |
|
2005-03-04 stable |
|
2005-03-01 stable |
|
2004-08-28 stable |
|
2004-08-08 stable |
|
2004-08-06 stable |
|
2004-06-03 stable |
|
2004-06-02 stable |
|
2004-01-29 stable |
|
2004-01-24 stable |
|
2004-01-21 stable |
|
2004-01-20 stable |
|
2003-12-19 stable |
|
2003-11-14 stable |
|
2003-08-25 stable |
|
2003-08-09 stable |
|
2003-07-31 stable |
|
2003-07-18 stable |
|
2003-07-16 stable |
|
0.19 |
Easy InstallNot sure? Get more info. pear install DB_DataObject-0.19 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject-0.19 Release date: 2003-05-22 01:09 UTC Release state: stable Release uploaded by: alan_k 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: |
2003-04-17 stable |
|
2003-03-12 stable |
|
2003-03-11 stable |
|
2003-02-25 stable |
|
2003-02-06 stable |
|
2003-01-23 stable |
|
2003-01-22 stable |
|
2003-01-21 stable |
|
2002-12-09 stable |
|
2002-12-06 stable |
|
2002-12-05 stable |
|
2002-09-10 beta |
|
2002-09-07 beta |
|
2002-08-21 beta |
|
2002-08-16 beta |
|
2002-07-12 beta |