Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Request #3140 Add various FormBuilder inspired options to DataObject DataSource
Submitted: 2005-01-08 20:17 UTC
From: justinpatrin Assigned:
Status: Closed Package: Structures_DataGrid
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-08 20:17 UTC] justinpatrin
Description: ------------ I've implemented some more options for the DataObject DataSource, mostly tied to FormBuilder. Patch here: http://www.reversefold.com/PEAR/Structures_DataGrid-DataObject-enhancement.patch Here's the list of changes: Added a sort_property option which defaults to use fb_linkOrderFields (should be an array) Added a general "formbuilder_integration" option which turns on some FormBuilder functionality usage of fb_preDefOrder in the DO (only if using fields_property) removal of triplelink, crosslink, and reverselink fields from display automatic display of linked fields' "display value" through DB_DataObject_FormBuilder::getDataObjectString Fields defaults to array_keys($this->_datasource->table()) if not set. This gets rid of the ugly display of private vars and such when get_object_vars is called Alters sort() funciton to allow the field without a direction. This is useful for fb_linkOrderFields, which does not have a seperate direction option.

Comments

 [2005-01-08 20:18 UTC] justinpatrin
 [2005-01-18 17:44 UTC] asnagy at webitecture dot org
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.