Top Level :: Database

Package Information: DB_DataObject_FormBuilder 0.9.0

Show All Changelogs
» Version » Information
1.0.0RC7 2007-03-31     beta
1.0.0RC6 2006-12-19     beta
1.0.0RC5 2006-09-17     beta
1.0.0RC4 2006-03-01     beta
1.0.0RC3 2006-02-28     beta
1.0.0RC2 2005-10-17     beta
1.0.0RC1 2005-10-08     beta
0.18.1 2005-08-23     beta
0.18.0 2005-08-22     beta
0.17.2 2005-06-17     beta
0.17.1 2005-06-01     beta
0.17.0 2005-05-27     alpha
0.16.0 2005-05-21     alpha
0.15.0 2005-05-17     beta
0.14.0 2005-04-28     beta
0.13.3 2005-04-13     beta
0.13.2 2005-04-11     beta
0.13.1 2005-04-08     beta
0.13.0 2005-03-25     beta
0.12.1 2005-03-05     beta
0.12.0 2005-03-05     beta
0.11.5 2005-03-03     beta
0.11.4 2005-03-02     beta
0.11.3 2005-02-26     beta
0.11.2 2005-02-10     beta
0.11.1 2005-01-08     beta
0.10.3 2004-11-08     beta
0.10.2 2004-10-29     beta
0.10.1 2004-10-26     beta
0.10.0 2004-08-28     beta
0.9.0Download

Release date: 2004-05-15 22:29 UTC
Release state: beta

Changelog:

Lots of lots of fixes/changes:
- New configuration option "elementTypeMap": Allows you to define
a list of FormBuilder field types and HTML_QuickForm element types
that should be used for those field types. This way, you can for
example use a WYSYWIG HTML editing component instead of textareas.
- New configuration options: "dateToDatabaseCallback" and
"dateFromDatabaseCallback" allow you to define callback functions
for date format conversion. This way, you can use any input and
storage format for dates that you desire.
- Fixed bug #624: Incompatibility with schema files generated by
DB_DataObject 1.4.0 and up. Side-effect: FormBuilder now also
recognizes DATE, DATETIME and TEXT fields automatically, so there
is no more need to use class properties to define them manually.
- Conversion of ISO dates to QuickForm date arrays no longer
relies on strtotime(), but uses PEAR::Date instead to get rid of the
date range limitations of Unix timestamps
- You can now also use DATETIME fields, as more formatting
options for date fields are supported (m,M,d,Y,H,i,s)
- New experimental option "dateFieldLanguage" allows setting the
language for date fields, this doesn't seem to work yet though
- useForm() now knows a second parameter that allows to add elements
from an existing form to the generated one ... this, too, is to be considered
highly experimental as the current implementation relies on supposedly private
QuickForm properties to be public
- Support for a new callback method in your DataObjects: "dateOptions()"
allows to return an option array for all or individual date elements. See docs
for QuickForm's date element for details on possible options
- Added support for recursive link lookups (by Justin Patrin)
- Implemented changes by Norbert Moscnik:
a) added "fieldsToRender" configuration option
b) added "userEditableFields" configuration option
c) added "forced_values" configuration option
d) additional empty option (value="") as the first element of the <select> lists
- Fixed file upload handling: http://pear.php.net/bugs/bug.php?id=423
- Added usage of setter methods: http://pear.php.net/bugs/bug.php?id=422
- When processing the form, the new getUserEditableFields() method is used
to check against manipulated POST requests
- Added support for definition of display_fields and custom field ordering in
a separate .ini file (contributed by Justin Patrin)
- Fixed: Threw notices when no primary key was detected in processForm().
Will now exit and return false.
- Added: New method forceQueryType() will let you override the autodetection
for the query command (insert/update) using new predefined constants.
- Fixed inconsistency with documentation regarding hide_primary_key (spotted by Norbert Mocsnik)
- Fixed bug with checks for postProcess() and preProcess() user-methods, spotted by Ron McClain
- Fixed bug that occured when building selectboxes (if select_order_field was not defined,
and the linked class had its own select_display_field property, FormBuilder was trying
to order by a nonexisting field)
- Fixed small issue in processForm method (detection if submitted values really belong
to the current DataObject)
- Minor change in configuration method (check inline docs!!)
- New options "createSubmit" and "submitText" to set creation of
a submit button on/off and specify its text
- fix bug preventing the options array from being used (Arnaud Limbourg)
- use raiseError instead of new PEAR_Error, use a variable to make php5 happy (Arnaud Limbourg)
- Automatically making the primary key a hidden field is now optional
- Fixed notices when working with E_ALL
- Fixed bug with element reordering (Arnaud Limbourg)
- Additions and corrections in inline docs
- Changed bullshit implementation: Existing form objects are no longer passed
through the options array, but by using a new method useForm().

Dependencies:
0.8.2 2003-08-29     beta
0.8.1 2003-08-24     beta
0.8 2003-08-22     beta