<?xml version="1.0" encoding="UTF-8" ?>
<r xmlns="http://pear.php.net/dtd/rest.release"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="http://pear.php.net/dtd/rest.release
    http://pear.php.net/dtd/rest.release.xsd">
 <p xlink:href="/rest/p/db_dataobject">DB_DataObject</p>
 <c>pear.php.net</c>
 <v>0.19</v>
 <st>stable</st>
 <l>PHP License</l>
 <m>alan_k</m>
 <s>An SQL Builder, Object Interface to Database Tables</s>
 <d>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.
</d>
 <da>2003-05-22 01:09:00</da>
 <n>- 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-&gt;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-&gt;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-&gt;setFrom($_POST,'prefix_%s') would map prefix_name to $object-&gt;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</n>
 <f>24838</f>
 <g>http://pear.php.net/get/DB_DataObject-0.19</g>
 <x xlink:href="package.0.19.xml"/>
</r>