Structures_DataGrid getPaging empty results --> error

From: Date: Fri, 22 Jul 2005 16:23:34 +0000
Subject: Structures_DataGrid getPaging empty results --> error
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20102@lists.php.net to get a copy of this message
I'm getting this after a datagrid (Structures_DataGrid) bind() with empty results. Is there a way to get number of rows fetched using this package (Structures_DataGrid)? Notice: Object of class PEAR_Error could not be converted to double in e:\apache\php\pear\Pager\Common.php on line 585 $dg =& new Structures_DataGrid(30); // View logic ... $dg->renderer->allowEmptyRows(true, array('bgcolor' => '#FFFFFF')); $dg->bind($myObj, array('formbuilder_integration' => true)); $dg->render(); echo $dg->renderer->getPaging(); // THIS IS THE LINE Regards Structures_DataGrid 0.6.2 beta HTML_QuickForm 3.2.4pl1 stable _______________________________________________________________ Meet other people who share your interests. http://www.homemaster.net - Homemaster. Come Together. Online.

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