<?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_table">DB_Table</p>
 <c>pear.php.net</c>
 <v>1.4.0</v>
 <st>stable</st>
 <l>LGPL</l>
 <m>wiesemann</m>
 <s>Builds on PEAR DB to abstract datatypes and automate table creation, data validation, insert, update, delete, and select; combines these with PEAR HTML_QuickForm to automatically generate input forms that match the table column definitions.</s>
 <d>Builds on PEAR DB to abstract datatypes and automate table creation, data validation, insert, update, delete, and select; combines these with PEAR HTML_QuickForm to automatically generate input forms that match the table column definitions.</d>
 <da>2006-11-09 15:57:28</da>
 <n>- Static form elements like 'header', 'static', 'submit' or 'reset' can now
  easily be added: define an array called $frm in your class, create a form
  object (e.g. yourself, via $obj-&gt;getForm(), ...) and then call
  $obj-&gt;addStaticFormElements($form);
  The $frm array has a very similar format like the column definition format. The
  key is the field name and the value is an array with details about the element.
  There is a special key called 'before' in the details array. If it is not
  given, or is empty (or null) the element will be appended at the end. If it is
  given, the element is added before the element specified via 'before'.
  Example:
  var $frm = array('headline' =&gt; array('before'        =&gt; 'name',
                                          'qf_type'       =&gt; 'header',
                                          'qf_setvalue'   =&gt; 'Headline'
                                         ),
                   'submit'   =&gt; array('before'        =&gt; null,
                                          'qf_type'       =&gt; 'submit',
                                          'qf_setvalue'   =&gt; 'Save data'
                                         ));
  This example assumes that there is an element called 'name' in the form. The
  header element will be placed before this 'name' element, and the submit button
  will be placed at the end of the form.
- added support for 'hierselect' and 'jscalendar' QuickForm elements as
  'qf_type' values in the column definition arrays
  (thanks to Arne Bippes and QDog for the patches)
- fixes / optimizations for columns with 'qf_type' == 'file':
  * if the column is marked as required, the 'uploadedfile' QF rule is now set
    instead of the 'required' QF rule
  * the 'numeric' and 'maxlength' QF rules are not set anymore (the corresponding
    checks will still be done before inserting/updating data into the database)
- fixed wrong handling of errors in the constructor</n>
 <f>47887</f>
 <g>http://pear.php.net/get/DB_Table-1.4.0</g>
 <x xlink:href="package.1.4.0.xml"/>
</r>