Re: Structures_DataGrid addColumn() callback method change from 0.6.0

From: Date: Fri, 28 Jan 2005 19:54:00 +0000
Subject: Re: Structures_DataGrid addColumn() callback method change from 0.6.0
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17256@lists.php.net to get a copy of this message
Jamie Alessio wrote:
I just upgraded Structures_DataGrid from 0.6.0 to 0.6.2 and noticed that some of my scripts broke. In 0.6.0 the array passed to the callback function of the addColumn() method includes a slew of FormBuilder values, including '__table'. My code currently depends on this to create a generic function to add 'Edit/Delete' links to DataGrid tables.
Are you using the latest version of DB_DataObject or atleast 1.7.0 or greater? The '__table' value is a dataobject value and should not be included in SDG as of DB_DataObject 1.7.0. Andrew

« previous php.pear.general (#17256) next »