Re: Re: New Package: Structures_DataGrid_DataSource for PDO

From: Date: Sat, 21 Apr 2007 20:03:33 +0000
Subject: Re: Re: New Package: Structures_DataGrid_DataSource for PDO
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-46356@lists.php.net to get a copy of this message
David Wilson wrote:
Thanks I'll take a look at the other drivers.
I have gotten a working implementation from another developer via email that is based on the MDB2 driver. I'll review it tomorrow and will sent an email to you and Olivier after that.
Can you send me the sample scripts that failed?
The described problem was my stupid fault, just ignore me please. ;-)
Also, why the '&' here? Don't you want to create a new instance of the object?
$datagrid =& new Structures_DataGrid();
I create a new instance. The cited line is the common usage of SDG (and other classes) with PHP 4. It does not make much sense with PDO (which requires PHP 5), but it doesn't hurt to use it also here. Regards, Mark -- http://www.markwiesemann.eu

« previous php.pear.dev (#46356) next »