[ANNOUNCEMENT] DB_DataObject_FormBuilder-0.11.2 (beta) Released.
| From: | PEAR Announce | Date: | Thu, 10 Feb 2005 23:12:35 +0000 |
| Subject: | [ANNOUNCEMENT] DB_DataObject_FormBuilder-0.11.2 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17488@lists.php.net to get a copy of this message | ||
The new PEAR package DB_DataObject_FormBuilder-0.11.2 (beta) has been released at http://pear.php.net/.
Release notes
-------------
-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
-"Required" 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
Package Info
-------------
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.
Related Links
-------------
Package home: http://pear.php.net/package/DB_DataObject_FormBuilder
Changelog: http://pear.php.net/package/DB_DataObject_FormBuilder/download/0.11.2
Download: http://pear.php.net/get/DB_DataObject_FormBuilder-0.11.2.tgz
Authors
-------------
Norbert Mocsnik (developer)
Markus Wolff <wolff@21st.de> (lead)
Justin Patrin <papercrane@reversefold.com> (lead)