» Version | » Information |
---|---|
1.0.2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.2 Release date: 2012-04-09 19:37 UTC Release state: stable Release uploaded by: doconnor Changelog: QA release Request #12917 Enum empty option specified through enumOptions array. Bug #13466 Make driver names __autoload friendly Dependencies:
|
1.0.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.1 Release date: 2010-10-25 14:25 UTC Release state: stable Release uploaded by: doconnor Changelog: Automatically built QA release Bug #17985 package.xml is invalid - saltybeagle Dependencies:
|
1.0.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0 Release date: 2009-05-26 19:25 UTC Release state: stable Release uploaded by: justinpatrin Changelog: First stable release. Fixes: * Fixed driver name case issues (bug #13071) * Fixed _array2date() notices (bug #14079) * Made unit tests skip instead of fail when configuration isn't present Dependencies:
|
1.0.0RC7 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC7 Release date: 2007-03-31 13:33 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fix Bug #10574: Line 1750 [justinpatrin] Dependencies:
|
1.0.0RC6 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC6 Release date: 2006-12-19 14:44 UTC Release state: beta Release uploaded by: justinpatrin Changelog: Additions: - Request #8721 CrossLinks now have a tri-state link which can hide all (thanks to peter at niebling dot name) Bugs Fixed: - Form processing will now fail when a reverseLink subForm fails processing - Bug #8105 The "g" formatter is now available in the default date formatter callbacks (thanks to dsanders at baselinesolutions dot com dot au) - Bug #6962 Crosslinks with special chars in their names, such as postgres tables, are processed again Changes: - The internal ElementTable QuickForm element is no longer used in favor of HTML_QuickForm_ElementGrid - package.xml 2.0 is now used exclusively, you must have PEAR 1.4.4 or greater installed to install DB_DataObject_FormBuilder - This package is now licensed under the LGPL Dependencies:
|
1.0.0RC5 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC5 Release date: 2006-09-17 03:42 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * BC Break! ** useMutators must now be set for setters to be used (this gets around problems with overloading) ** useAccessors will now cause getters to be used to get non-link data *** accessors and mutators may not be used for link fields * Form values changed in preProcessFormCallback are now honored * De-silenced include_once (fopen now used to check for file readability) * _getEnumOptions() now works with MDB2 * Boolean fields which are set editable but are not set as DB_DATAOBJECT_BOOL will now be set correctly * Fixed displaying of postgresql booleans * _sanitizeFieldName is now used when listing special elements (fixes some cross/triple/reverse link bugs) * Added more info to error output * Extended FormBuilder classes will now be re-used for sub-FormBuilders * Added an option to set the empty label for radios which is distinct from the select empty label (Request #7919) * Header elements now have a name * Fixed some docs * Fixed an undefined reference * SubForm.php now outputs a type attribute in all <script> output Dependencies:
|
1.0.0RC4 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC4 Release date: 2006-03-01 12:09 UTC Release state: beta Release uploaded by: justinpatrin Changelog: (Fixed since 1.0.0RC3) * Fixed undefined index notice in SubForm.php and other possible breakage ** This was caused by the packaging of a version of SubForm.php which is not checked into CVS and has unsupported changes. Please upgrade as soon as you can to avoid breaking your scripts. (Changelog for 1.0.0RC3) * Fixed "only variables should be assigned by reference" notices (bug #5733) * Fixed a bug where boolean fields in the booleanFields option were overridden when not set as editable * Fixed a bug where cross/reverse/tripleLinks were processed when not set editable or rendered * Fixed notice about undefined variable $ordered (bug #6894) * Added linkNewNalue support for reverseLinks (Thanks to Brett Beiber for this patch) ** Adds _createSubForm in the QuickForm renderer ** Multiple SubForms are allowed for each reverseLink Dependencies:
|
1.0.0RC3 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC3 Release date: 2006-02-27 22:32 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fixed "only variables should be assigned by reference" notices (bug #5733) * Fixed a bug where boolean fields in the booleanFields option were overridden when not set as editable * Fixed a bug where cross/reverse/tripleLinks were processed when not set editable or rendered * Fixed notice about undefined variable $ordered (bug #6894) * Added linkNewNalue support for reverseLinks (Thanks to Brett Beiber for this patch) ** Adds _createSubForm in the QuickForm renderer ** Multiple SubForms are allowed for each reverseLink Dependencies:
|
1.0.0RC2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC2 Release date: 2005-10-17 17:22 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fix problems with callbacks and overloading (PHP5) (fixes date element array_merge errors) * Removed forced break between a link element and its linkNewValue sub-form * Fixed a bug in SubFormFB which broke some linkNewValue forms * Fixed issue with the encoding type of a form when a sub-form has a file element Dependencies:
|
1.0.0RC1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-1.0.0RC1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0RC1 Release date: 2005-10-07 20:06 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * First RC for 1.0.0. * Fix a bug which caused nested linkNewValue forms and linkNewValue forms used in conjunction with elementNamePrefix/postfix not to insert a record Dependencies:
|
0.18.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.18.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.18.1 Release date: 2005-08-23 17:02 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fix bug #5188 - date option callbacks default values do not work * Implemented request #4647 - Added collapse support for reverseLinks Dependencies:
|
0.18.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.18.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.18.0 Release date: 2005-08-22 18:26 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fixed notice about $className in FormBuilder.php * Fig bug #4867 - enumOptions renumbered for NULL fields * Fixed bug where _array2Date added AM/PM to dates * Fixed bug where some callbacks set in PEAR::setStaticProperty or passed into the constructor would get overwritten with defaults * Fixed bug #5127 - cross/triple/reverseLinks don't work with pgsql * Fixed bug #4562 - date elements need to use addGroupRule * Altered create() to allow for any main class to be used * Altered create() to allow for inclusion of driver classes outside FormBuilder * The prepareLinkedDataObject callback may now affect displayFields and other link options * Added date/time option callback properties * Altered the default field labels to be much more useful * Changed SubForm elements to always use the default QuickForm renderer (used by linkNewValue) * Changed dataFromDatabaseCallback and dateToDatabaseCallback to allow for disabling of them ** This is a slight BC break as a non-callable value was previously replaced with the defaults Dependencies:
|
0.17.2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.17.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.17.2 Release date: 2005-06-17 12:40 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Fixed issue with setStaticProperty ** Basically you don't need this line any more: ** $_DB_DATAOBJECT_FORMBUILDER['CONFIG'] = $config['DB_DataObject_FormBuilder']; * Fixed problems with not null / required fields and the type option arrays (enumFields, textFields, etc) (bug #4617) * Fixed call-time-pass-by-ref error with preGenerateForm * Fixed elementNamePrefix/Postfix when collapsing crossLinks * crossLink and tripleLink header cells now use "elementTableColumnLabel" and "elementTableRowLabel" classes instead of hard-coding "lightgrey" as a background color for easy styling Dependencies:
|
0.17.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.17.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.17.1 Release date: 2005-06-01 13:44 UTC Release state: beta Release uploaded by: justinpatrin Changelog: * Moving back to Beta * Fixed issue with frozen crosslinks / triplelinks being processed incorrectly * trackSubmit is now set true for all forms * elementTypeMap arrays need not have all options, only the ones you wish to override need to be specified * Added elementTypeMap entry for subForm Dependencies:
|
0.17.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.17.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.17.0 Release date: 2005-05-27 14:13 UTC Release state: alpha Release uploaded by: justinpatrin Changelog: Fixed bug #4407, addFormHeader no longer works in 0.16.0 Fixed notices in QuickForm.php related to member vars Fixed __ALL__ value in ini file for excludeFromAutoRules getting changed to __ALL__ Fixed bug #4440, Appended forms does not contain rules and errors Added fieldsRequired option to set non NOT NULL fields as required automatically Added support for multiple crossLink and tripleLink elements to the same table in one form Changed linkNewValue to use a SubForm element and a group instead of PopupSelect Removed PopupSelect as it's no longer used Dependencies:
|
0.16.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.16.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.16.0 Release date: 2005-05-20 20:05 UTC Release state: alpha Release uploaded by: justinpatrin Changelog: Sorry to bring us back down to alpha, but I just changed the driver architecture. We should be back up to beta within a few releases. Changes * BC Break! The QuickForm driver no longer extends the FormBuilder main class ** This means that extended versions of FormBuilder are no longer tied to a specific driver, however ** If you have created your own FormBuilder extended class in the past you now need to alter it to ** extend DB_DataObject_FormBuilder instead of DB_DataObject_FormBuilder_QuickForm ** If you are instantiation your FormBuilder object with "new" you should switch to using DB_DataObject_FormBuilder::create() Fixes * validateOnProcess no longer fails when linkNewValue is used New Features * There are now callback options to allow custom functions to be set for: ** preGenerateForm ** postGenerateForm ** preProcessForm ** postProcessForm ** prepareLinekdDataObject ** Note: useCallTimePassByRef is now needed only if you use the FormBuilder parameter in the getForm callback * If you set the 'collapse' key of a crossLink array to true, the unselected crossLink records will be hidden until you click the "Show All" link beneath them. This should help a lot for large amounts of records in crossLinks. Dependencies:
|
0.15.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.15.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.15.0 Release date: 2005-05-17 12:36 UTC Release state: beta Release uploaded by: justinpatrin Changelog: Changes -BC Break, removed enum option reindexing altogether --enum option arrays *must* be indexed with the value you want to go into the DB. For normal enums, make the key and the value equal --array('option1' => 'option1', 'option2' => 'option2') --This *only* affects those who don't use the built-in callback to get the options from the DB automatically Fixes -Fixed typo which caused update errors to throw a fatal PHP error (bug #4364) New Features -Added linkNewValueText option to allow customizing of the linkNewValue option text Dependencies:
|
0.14.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.14.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.14.0 Release date: 2005-04-28 13:19 UTC Release state: beta Release uploaded by: justinpatrin Changelog: Changes -BC break: Made enum options more flexible --Options in enumOptions or returned from enumOptionsCallback may be in one of two formats --If the first key of the array is an integer (such as 0) then the array is reformulated to have each value as the key. In other words, the key information is lost --If you wish to have the keys kept as-is (inserted into the database as they are) make your keys are strings (such as '0') -Changed _getPrimaryKey, _date2Array, and _array2Date to allow them to be called statically Fixes -Fixed notice when checking crossLink['type'] New Features -Added return of errors from processForm when DB operations fail --This is a slight BC break as further operations will no longer be attempted Dependencies:
|
0.13.3 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.13.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.13.3 Release date: 2005-04-13 19:10 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -Fixed a bug which made linkNewValue not work with elementNamePrefix/Postfix Dependencies:
|
0.13.2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.13.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.13.2 Release date: 2005-04-11 18:51 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -It is now possible to use something other than the primary key for a link. This field must be unique, though, or you will have an inconsistent database. FormBuilder will *not* warn you if the field is not unique. -tripleLinks and crossLinks will now always use the field values from the links.ini instead of primary keys -Added a 'multiselect' option to the elementTypeMap. You may now set a different QF element type for multiselects. -Fixed a bug where tripleLinks and crossLinks were filled out in a new record (non-fetched DO) Dependencies:
|
0.13.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.13.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.13.1 Release date: 2005-04-08 13:51 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -Fix Bug #3877 extra fields in crosslink table lost on update to parent table when crossLink type is select -Fix fatal errors when crossLinkExtraFields is set and the crossLink is of type 'select' -Removed all direct use of Primary Key from crossLink and tripleLink code as it was technically incorrect. It now uses the value from the links.ini -Fixed issue with populateOptions being called in DataObject callbacks other than preGenerateForm -Fixed issue with crossLink tables with no primary key -Fixed possible issue with tripleLinks regarding primary key -Fixed possible problem with crossLinks and tripleLinks when no values are found -Fixed possible problem with copies of DataObjects using factory Dependencies:
|
0.13.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.13.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.13.0 Release date: 2005-03-25 14:01 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -BC Break! linkNewValue is now off by default -Added support for specifying the location of preDefGroups in preDefOrder (use the group name) (request #3796) --If no entry is in preDefOrder for a preDefGroup it will be placed where the first element it contains would be placed -excludeFromAutoRules option added. Allows excluding of some or all element from automatic rule generation -Fixed notice in PopupSelect.php due to old commented JavaScript -Possible fix for some Primary Key problems -Fixed issues with using global functions as callbacks -Fixed further problems with ElementTable (crossLinks with extraFields / tripleLinks) -Fixed warnings when no links are defined (bug #3941) Dependencies:
|
0.12.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.12.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.12.1 Release date: 2005-03-05 11:36 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -Added a new feature, linkNewValue. This is on by default for now. When a link select box is created the bottom entry is "--New Value--". When selected, this un-hides a form below the select box for creation of a new linked record. If you're not sure what this is, try it, it's a very neat feature. Note: this requires JavaScript. -Added error return when enum options are not found -0.12.1 adds the missing file PopupSelect.php Dependencies:
|
0.12.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.12.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.12.0 Release date: 2005-03-04 19:59 UTC Release state: beta Release uploaded by: justinpatrin Changelog: Added a new feature, linkNewValue. This is on by default for now. When a link select box is created the bottom entry is "--New Value--". When selected, this un-hides a form below the select box for creation of a new linked record. If you're not sure what this is, try it, it's a very neat feature. Note: this requires JavaScript. Added error return when enum options are not found Dependencies:
|
0.11.5 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.11.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.11.5 Release date: 2005-03-03 17:24 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -Fixed call-time-pass-by-ref warning with new getForm parameter -Fixed date format 'A' type not working due to copy/paste error -Fixed possible problem in _date2Array when posting empty values Dependencies:
|
0.11.4 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.11.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.11.4 Release date: 2005-03-01 20:02 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -The FormBuilder object is now passed into preProcessForm and postProcessForm as the second argument -The FormBuilder object is now passed into getForm as the fifth argument Dependencies:
|
0.11.3 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.11.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.11.3 Release date: 2005-02-26 17:44 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -Remove special chars from package.xml -Fixed enumOptions option (bug #3469) -Fixed bug where if field is not set in reverseLink initial setup, reverseLinks fail to work Dependencies:
|
0.11.2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.11.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.11.2 Release date: 2005-02-10 18:12 UTC Release state: beta Release uploaded by: justinpatrin Changelog: -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 so that PEAR::Date will process it correctly5H -- 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 Dependencies:
|
0.11.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.11.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.11.1 Release date: 2005-01-08 18:55 UTC Release state: beta Release uploaded by: justinpatrin Changelog: 0.11.1 adds a file missing in the 0.11.0 release Lots of new options, bug fixes, and a few changes. Check the wiki for more detailed info on new options. fixes: - Re-added support for timeElementFormat option - Re-added "copy" support for dbDateFormat (although it is not currently used) - Auto-generated form name is now always lowercase to ensure identical behaviour in PHP4 and PHP5 - Fixed hidePrimaryKey issues when set in the ini file - Moved the rest of the driver-specific to the QuickForm driver - Changed crossLink and tripleLink code to use setDefaults (bug #2913) - Fix tripleLinks not holding their value after a submit (related to bug #2913) - Added support for all date format types specified in bug# 2375 NOTE: 'l' and 'D' types are supported by _date2Array, but not _array2Date. This means they can be output, but upon submission they do nothing. - Fixed freezing problems with crossLinks and tripleLinks (bug #2915) A new QuickForm element type has been created for this. It is in DB/DataObject/FormBuilder/QuickForm/ElementTable.php. This element creates an HTML_Table with rows of elements. The table may or may not have row and column headers. Any QF element may be in each cell. - Fixed bug where time elements were created with 'date' type options (this should change nothing unless you use elementTypeMap) - 0 as primary key no longer causes unwanted insert (bug #2979) - Fixed elementNamePrefix and elementNamePostfix when used with crosslink and triplelink and dates [ and ] are no longer allowed in the prefix and postfix changes: - The Primary Key is now retrieved using a new internal method (_getPrimaryKey) which looks first in the _primary_key property of the DataObject, then tries sequenceKey(), then the first element in keys() - Added patch to "sync" crosslinks and triplelinks instead of deleting all and recreating (Bug #2841) - The numeric rule will only be set if FB creates the element (bug #3042) - Renamed getDataObjectSelectDisplayValue() to getDataObjectString() new: - Added multi-select support to QF driver - Re-added multi-select support for crossLinks - Added casting of '' to NULL for link fields (for selectAddEmpty) - Added automatic entry of an empty option for link fields which are not DB_DATAOBJECT_NOTNULL - Added selectAddEmpty support for enum fields - Enum fields will automatically have an empty option if they are allowed to be NULL (same as for links) - Added a new crossLinkExtraFields option for crossLinks which allows editing of extra fields in the crosslink table - Added prepareLinkedDataObject callback for DO to customize link options (bug #2958) - Added elementTypeAttributes and fieldAttributes configuration options to QF driver - Added a new option: useCallTimePassByReference which defaults to false (bug #2658) - Added support for reverseLinks (request #2889) - Added support for boolean fields. Boolean fields are rendered as checkboxes - Added new option booleanFields - getDataObjectString() is now statically callable If you are upgrading from a pre-0.10.0 version, read the 0.10.0 and 0.10.1 release notes! Dependencies:
|
0.10.3 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.10.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.10.3 Release date: 2004-11-08 14:15 UTC Release state: beta Release uploaded by: justinpatrin Changelog: New functionality! Added elementNamePrefix and elementNamePostfix options which allow you to add a prefix and/or postfix to element names. Please see the wiki for more info: http://opensource.21st.de/tiki-index.php?page=Formbuilder+configuration+options#id178017 Re-added support for requiredRuleMessage (bug 2719) Thanks to pavel dot kunc at beneta dot cz If you are upgrading from a pre-0.10.0 version, read the 0.10.0 release notes! Dependencies:
|
0.10.2 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.10.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.10.2 Release date: 2004-10-28 21:19 UTC Release state: beta Release uploaded by: justinpatrin Changelog: dateElementFormat member variable was missing. This configuration option should now work from DataObjects. If you are upgrading from a pre-0.10.0 version, read the 0.10.0 release notes! Dependencies:
|
0.10.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.10.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.10.1 Release date: 2004-10-26 18:31 UTC Release state: beta Release uploaded by: justinpatrin Changelog: Allow arrays in preDefElements (creates a group) If you are upgrading from a pre-0.10.0 version, read the 0.10.0 release notes! Dependencies:
|
0.10.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.10.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.10.0 Release date: 2004-08-27 20:39 UTC Release state: beta Release uploaded by: justinpatrin Changelog: This version introduces major BC breaks, mostly dealing with the names and locations of configuration variables most of which can be corrected by using a provided fix script(s). If you have already used FormBuilder in your current projects, please read all of this very carefully! MAJOR BC BREAKS -- Please read all comments below before trying to use this version! This checkin is the result of an attempt at unifying the various parts of the FormBuilder API, unifying the coding styles, and conforming to PEAR CS. This *will* break your application. All options are now configurable through the DataObject. Any option that could be in the FormBuilder can now be in the DataObject. All options in the DataObject now have a "fb_" prefix to distinguish them from field names. All options in both the FormBuilder and DataObject were changed to use studlyCaps instead_of_underscores. Some few options have changed names. For example, follow_links is now linkDisplayLevel. All options may be specified in the [DB_DataObject_FormBuilder] section of the ini file. For options that are DataObject specific, these are set as defaults. The DataObject may change them through its options. linkDisplayFields and linkOrderFields (see below) are arrays and set the same as elementTypeMap. All options in the [DB_DataObject_FormBuilder] section of the ini file are copied into the FormBuilder when it is instantiated. Hence, changing $GLOBALS['_DB_DATAOVJECT_FORMBUILDER']['CONFIG'] after you create your FormBuilder will no longer work. All options in the DataObject (except for those that start with "select") are copied to the FormBuilder after preGenerateForm is called. This is to cut down on the internal complexity of FormBuilder. This means that you cannot change options in the DataObject after preGenerateForm (such as in postGenerateForm). We don't see this as a problem as you can set everything up before then and (nearly) all options are used once postGenerateForm is called. If you know of a problem with this, please send us an e-mail or a bug report. This also means that you cannot re-use a FormBuilder object as the settings of the previous FormBuilder will persist. The database.formBuilder.ini file is no longer used. Select display and order fields should be put in the DO file as linkDisplayFields and linkOrderFields. The fix0.9.0Files.php script will move these options into your DataObject classes automatically. If you were previously using the 0.9.0 release, the script in CVS called fix0.9.0Files.php should be able to fix all BC breaks in your code and ini files. If it doesn't please send an e-mail to justinpatrin@php.net so that I can fix it. You can download the script from this URL: http://cvs.php.net/pear/DB_DataObject_FormBuilder/fix0.9.0Files.php If you were previously using a CVS version of FormBuilder.php after 1.36 up to 1.52, the script in CVS called fixPre1.52CVSFiles.php should be able to fix any BC problems you have. All this script does is rename sleect*Fields to link*Fields. You can download the script from this URL: http://cvs.php.net/pear/DB_DataObject_FormBuilder/fixPre1.52CVSFiles.php For a list of all changes, please see the CVS changelogs for FormBuilder.php. Of particular interest should be the changelog for CVS version 1.37. FURTHER IMPROVEMENTS AND MODIFICATIONS: - Added crossLinkSeparator option - Added TIME element handling (Thanks to Frank Fahs) - Added support for ENUM select or radio generation 3 new options: enumFields, enumOptions, and enumOptionsCallback - Added linkElementTypes option - selectAddEmpty is now an array which should be filled with link fields that should have an empty option in their select box i.e., the option has moved from the linked to the linker - Removed QuickForm-specific functions from main class and introduced new QuickForm-driver class. A third parameter was added to the factory method to determine which driver is to be used. - Fixed bug 1829 - date callbacks not called correctly - Fixed issues with unset member vars and $options array in constructor - Better array handling for ini-arrays - Added more ini options to array handling - Array based options may be single values without a comma - Array based options which have no need for keys (selectDisplayFields, etc.) don't need the key - Fixed bug where linked fields in selectDisplayFields didn't know their own selectDisplayFields - Fixed bug where cross/tripleLinks are frozen if not in userEditableFields array - Added missing createSubmit option - Fixed Bug #1715 (minutes and seconds are lost in _array2date) - Got rid of Required QF rule for NOT NULL fields which are frozen - Fixed bug 1699 (Notice: Undefined property _triple/_crossLinks) - Fixed bug 1700 (Notice: Array to string conversion) - Added freezing of triplelink elements accoring to elements_to_freeze - Added missing code to freeze fields not in userEditableFields (if it exists) - Added code to allow any field to be a link field - Fixed bug #1500, adding fallback to displaying the primary key in selectboxes if a select_display_field cannot be identified (patch by Justin Patrin) - Fixed bug #1459 (Thanks to Justin Patrin) - New feature: Add required rule for NOT NULL fields (Bug #1487, thanks to Justin Patrin) - New feature: Add field name to error messages. - Small change to getDataObjectSelectDisplayValue() making use of getLink() instead of links(). The FormBuilder Wiki has up-to-date documentation: http://opensource.21st.de/tiki-index.php?page=DB_DataObject_FormBuilder Dependencies:
|
0.9.0 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.9.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.9.0 Release date: 2004-05-15 18:29 UTC Release state: beta Release uploaded by: mw21st 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 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.8.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.8.2 Release date: 2003-08-28 20:56 UTC Release state: beta Release uploaded by: mw21st Changelog: New features: - Support for custom field order (Fabien Franzen) - Support for grouped elements (Fabien Franzen) - Optional call to DB_DataObject::validate() on processing form data (suggested by Ron McClain) - Possibility to optionally use existing form objects (suggested by Alexey Borzoff) Dependencies:
|
0.8.1 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.8.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.8.1 Release date: 2003-08-23 20:38 UTC Release state: beta Release uploaded by: mw21st Changelog: Bugfix release: - Fixed a bug in getSelectOptions() that occured if the linked field was NULL - Fixed a bug with tables containing integer fields but having no entry in the links.ini (thanks to Fabien Franzen for reporting it) Dependencies:
|
0.8 |
Easy InstallNot sure? Get more info. pear install DB_DataObject_FormBuilder-0.8 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject_FormBuilder-0.8 Release date: 2003-08-21 20:35 UTC Release state: beta Release uploaded by: mw21st Changelog: - Initial release Dependencies:
|