[Patch] Structures_DataGrid_DataSource_XML

From: Date: Wed, 28 Jun 2006 15:24:26 +0000
Subject: [Patch] Structures_DataGrid_DataSource_XML
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43163@lists.php.net to get a copy of this message
Hi After you introduced my Suggestion in the XML renderer yesterday I found that the XML datasource driver now did not behave consistent, as the exported data could not be loaded back into the same format. So I modified the datasource driver to accept 3 new options: - 'fieldAttribute' to assign the appropriate Attribute to the column field - 'labelAttribute' to assign the appropriate Attribute to the column label - 'dropAttributes' to change the recordset into the same form as if no attributes would be present in the XML data I am sure my approach is not the most elegant possible one - I tried to understand the XML serializer as much as I could - anyway it works in my application. I tried to act as requested in the PEAR contributing manual, anyway I could not get WinCVS to save a .diff file (I am sorry I just got to know CVS yesterday). So I copied the diff parts from the WinCVS log window into a text file; I hope this is useful for you. Otherwise I hope you don't mind finding the source at http://www.markusernst.ch/stuff_for_the_world/XML.zip or somebody can tell me how to make a proper .diff file with WinCVS... Thank you for your great work on Structures_DataGrid! Markus -- -- Markus Ernst · Design & Technik -- Gasometerstrasse 14 · 8005 Zürich · Telefon 043 243 30 49 -- ernst@markusernst.ch · www.markusernst.ch · www.gasometer14.ch --

« previous php.pear.dev (#43163) next »