Re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ?

From: Date: Fri, 10 Dec 2004 20:07:02 +0000
Subject: Re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16172@lists.php.net to get a copy of this message
On Fri, 10 Dec 2004 17:03:09 -0300, cron@odi.com.br <cron@odi.com.br> wrote: > Hello, > > I just got the Structures_DataGrid 0.53 and some weird thing are happening > > When I run examples from the doc: > > / Print the DataGrid > $dg = new Structures_DataGrid(); > $source &= Structures_DataGrid_Source::create($user); > $dg->bindDataSource($source); > $dg->render(); I believe the source binding for DO's is only in CVS. Try using the CVS version. > > I get : > > Fatal error: Undefined class name 'structures_datagrid_source' in > /home/www/html/aaa/file.php on line 29 > > The class 'structures_datagrid_source' exists? I could not find it in the > Packages files. > > For those thinking you did not include the file, yes I did other examples > works but I want to use DB_DataObject and the method bind give me a nice > error( resultset must be associative array) so include of > Structures/DataGrid.php is ok. > > So I got the examples in Packages \doc\examples and run it, no datagrid show > up, checking the source I realize the some examples files a missing. > > Does anyone have the same problems. Kind weird i use some other packages > from pear and the work very fine. > > Ângelo > -- Justin Patrin

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