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

Bug #4350 Structures_DataGrid_Renderer_XML constructor needs variable by reference
Submitted: 2005-05-15 16:41 UTC
From: tier at gregor-widuch dot de Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 4.3.8 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-15 16:41 UTC] tier at gregor-widuch dot de
Description: ------------ The sample "example-xml.php" only returns <?xml version="1.0"?> <DataGrid> </DataGrid> I think I found the reason: In file Structures/DataGrid/Renderer/XML.php the constructor is buggy. The variable $dg is not passed by reference. When I change this the sample works. function Structures_DataGrid_Renderer_XML(&$dg) { $this->_dg =& $dg; }

Comments

 [2005-05-16 18:23 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!