RE: [PEAR-CVS] cvs: pear /Structures_DataGrid DataGrid.php package.xml /Structures_DataGrid/DataGrid Column.php Core.php Record.php Renderer.php
/Structures_DataGrid/DataGrid/Record DB.php DataObject.php /Structures_DataGrid/DataGrid/Renderer HTMLTable

From: Date: Thu, 18 Mar 2004 15:46:34 +0000
Subject: RE: [PEAR-CVS] cvs: pear /Structures_DataGrid DataGrid.php package.xml /Structures_DataGrid/DataGrid Column.php Core.php Record.php Renderer.php
/Structures_DataGrid/DataGrid/Record DB.php DataObject.php /Structures_DataGrid/DataGrid/Renderer HTMLTable
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17511@lists.php.net to get a copy of this message
> -----Original Message----- > From: Alan Knowles [mailto:alan@akbkhome.com] > Sent: Wednesday, March 17, 2004 9:32 PM > To: Andrew Nagy; pear-cvs@lists.php.net > Subject: Re: [PEAR-CVS] cvs: pear /Structures_DataGrid DataGrid.php > package.xml /Structures_DataGrid/DataGrid Column.php Core.php Record.php > Renderer.php /Structures_DataGrid/DataGrid/Record DB.php DataObject.php > /Structures_DataGrid/DataGrid/Renderer HTMLTable > > > CS police :) > > > > require_once ('PEAR.php'); > > require_once ('DataGrid/Renderer.php'); > > require_once should not use brackets. > I must have missed that memo :) > > > define ('DATAGRID_SORT_ASC', 'ASC'); > > define ('DATAGRID_SORT_DESC', 'DESC'); > > is this really a good idea? - why not just use ASC/DESC as strings. - > shorter/clearer.. > - defines are slow in PHP.. > I just thought I would list all datagrid defined items as define statements, but you are probably right, they are unnecessary. It just makes things cleaner in my mind. > Regards > Alan > Thanks for looking out for me :) Andrew

« previous php.pear.cvs (#17511) next »