Class structures_datagrid_source exists in Structures_DataGrid 0.53 ?
| From: | cron at odi dot com dot br | Date: | Fri, 10 Dec 2004 20:03:09 +0000 |
| Subject: | Class structures_datagrid_source exists in Structures_DataGrid 0.53 ? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16167@lists.php.net to get a copy of this message | ||
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