Structures_DataGrid

From: Date: Wed, 28 Jun 2006 13:00:21 +0000
Subject: Structures_DataGrid
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24498@lists.php.net to get a copy of this message
Hi I try to use Structures_DataGrid for importing Data of various formats. So, after successfully bind()ed the data I would like to get them out as an array with the same structure as used for filling the Array datasource driver. As I did not find some kind of getRecordSet() method in DataGrid, I wonder what would be the appropriate way to get the data out: 1. Write a new class which inherits Structures_DataGrid and provides a public method to retrieve the recordsets 2. Write a new renderer that returns the data as an array 3. Dirty way: $data = $datagrid->recordSet; Thanks for comments Markus

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