Re: Class structures_datagrid_source exists in Structures_DataGrid 0.53 ?
| From: | Andrew Nagy | Date: | Mon, 13 Dec 2004 14:10:45 +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-16197@lists.php.net to get a copy of this message | ||
cron@odi.com.br wrote:
Getting the last CVS version did not help same errors still. It is a alpha version should I report a BUG?Since you are calling the Source class statically, you must use the following statement: require_once('Structures/DataGrid/Source.php'); This will only work if you are using the latest from CVS AndrewHello, 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