Changing options when rendering twice datagrid
| From: | Michel D'HOOGE | Date: | Fri, 09 Jun 2006 14:57:49 +0000 |
| Subject: | Changing options when rendering twice datagrid | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24306@lists.php.net to get a copy of this message | ||
Hello
I am still studying the CVS version of Datagrid and I'm a bit confused
about initialisation of renderers and options. Is there a clear definition
of what Structures_DataGrid_Renderer::init() is expected to do?
Especially, if we change some options, what is the expected behaviour?
I am not fully sure, but if I run the following code, the renderer will
output twice the same data:
$datagrid->render(null, array('foo'=>'1');
$datagrid->render(null, array('foo'=>'2');
--
Michel