Re: re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ? Solved
| From: | cron at odi dot com dot br | Date: | Mon, 13 Dec 2004 15:05:07 +0000 |
| Subject: | Re: re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ? Solved | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16196@lists.php.net to get a copy of this message | ||
The class name is structures_datagrid_DATAsource, i guess is just a typo in the docs.
Angelo
----- Original Message ----- From: <cron@odi.com.br>
To: <pear-general@lists.php.net>
Sent: Monday, December 13, 2004 10:55 AM
Subject: [PEAR] re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ?
Getting the last CVS version did not help same errors still. It is a alpha version should I report a BUG?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 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-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php