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

Request #7753 getLink() support in the DataObject driver
Submitted: 2006-05-29 18:04 UTC
From: olivierg Assigned: olivierg
Status: Closed Package: Structures_DataGrid_DataSource_DataObject (version 0.6.3)
PHP Version: Irrelevant OS: Debian
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-29 18:04 UTC] olivierg (Olivier Guilyardi)
Description: ------------ On pear-general, a user reported that he needs the DataObject datasource driver to get links with getLink(), for every fetched row. http://marc.theaimsgroup.com/?l=pear-general&m=114892038310461&w=2 I recommended him to use the "formbuilder_integration" option which worked for his needs. However : - this option name is not meaningful - enabling this option requires DB_DataObject_Formbuilder to be installed and loaded, which could easily be avoided - if several linked fields are fetched, their values are concatenated in a string, and delimited with a comma (non-configurable) I believe that : - this option should be renamed - a BC fix for the old name could be provided - the dependency on DB_DO_FB should be removed - the whole concept of fetching links should be investigated, and possibly additional options added - instead of outputing a string, this could be coupled with a new grouping feature as outlined in bug #4565

Comments

 [2006-06-20 16:47 UTC] wiesemann (Mark Wiesemann)
changed package
 [2006-06-21 15:09 UTC] olivierg at php dot net (Olivier Guilyardi)
Corrected package name now that bug #7946 is fixed.
 [2007-06-13 15:49 UTC] olivierg (Olivier Guilyardi)
The following has been fixed in CVS: - better and more explicit support for fetching links, with new link_level and link_property options - Deprecating the formbuilder_integration option, keeping BC. Same behaviour can be achieved with link_level and fields_order_property - Removing dependency on DB_DataObject_FormBuilder