<?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_formbuilder">DB_DataObject_FormBuilder</p>
 <c>pear.php.net</c>
 <v>0.11.2</v>
 <st>beta</st>
 <l>PHP License</l>
 <m>justinpatrin</m>
 <s>Class to automatically build HTML_QuickForm objects from a DB_DataObject-derived class</s>
 <d>DB_DataObject_FormBuilder will aid you in rapid application development using the packages DB_DataObject and HTML_QuickForm. For having a quick but working prototype of your application, simply model the database, run DataObject´s createTable script over it and write a script that passes one of the resulting objects to the FormBuilder class. The FormBuilder will automatically generate a simple but working HTML_QuickForm object that you can use to test your application. It also provides a processing method that will automatically detect if an insert() or update() command has to be executed after the form has been submitted. If you have set up DataObject´s links.ini file correctly, it will also automatically detect if a table field is a foreign key and will populate a selectbox with the linked table's entries. There are many optional parameters that you can place in your DataObjects.ini or in the properties of your derived classes, that you can use to fine-tune the form-generation, gradually turning the prototypes into fully-featured forms, and you can take control at any stage of the process.
</d>
 <da>2005-02-10 18:12:23</da>
 <n>-If DB_DATAOBJECT_BOOL is set in the type by the DataObject generator, it will take effect before the INT rules. (bug #3154)
-Return only values whose keys start with the prefix and end with the postfix (bug #3163)
-Fix processing of boolean fields not in booleanFields (bug #3167)
-Enum fields display when frozen (bug #3124)
-Changed crossLink extraFields to save the created FB object and use it for processing
-CrossLinks also no longer use array syntax (which is not allowed for prefix and postfix)
-Only set defaults for fields we are processing (bug #3199)
-fieldsToRender should always be shown, even if not in preDefOrder (bug #3182)
-Added prepareLinkedDataObject support for crosslinks and triplelinks
-&quot;Required&quot; rule should not be applied to boolean fields
-Fixed notices of undefined $key with prepareLinkedDataObject when processing tripleLinks and crossLinks
-Use eval for call-time-pass-by-ref to avoid the warning (bug #3230)
-Added selectAddEmptyLabel which allow setting of the label for an empty option
-Fixed DATETIME type checking (was catching TIME elements)
-Added a new datetime element to QF driver
-Added dateTimeElementFormat option
-New datetime type supports datetimeoptions callback in DO
-Added language for time element (uses dateFieldLanguage)
-Fix copy-paste error (bug #3333)
-Fix auto-required rules not working with elementNamePre/Postfix (bug #3343)
-Added elementTypeMap support for selects
-Time / Date processing changes for Bug #3330
-- If only a time is passed to _date2Array it will prepend today's date to that PEAR::Date will process it correctly
-- You no longer have to have all 3 date fields specified for a date to be output from _array2date
--- For example, f only a day is specified, it will put 0000 for year and 00 for month
--- The same applies to times *except* that seconds will only be output of they are specified
---- If only an hour and minute are specified (or only one of the 2) you will get H:i with no s
---- If only seconds are specified you would get 0 for hour and minute</n>
 <f>36896</f>
 <g>http://pear.php.net/get/DB_DataObject_FormBuilder-0.11.2</g>
 <x xlink:href="package.0.11.2.xml"/>
</r>