Re: Re: DB_DataObject and Structures_DataGrid integration
| From: | Ian P. Christian | Date: | Tue, 17 Aug 2004 12:32:32 +0000 |
| Subject: | Re: Re: DB_DataObject and Structures_DataGrid integration | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32734@lists.php.net to get a copy of this message | ||
On Friday 13 August 2004 01:55, Olivier Guilyardi wrote:
> Some improvements : http://www.xung.org/misc/dgdo
I'm about to go off on one and build a unified datasource interface supporting
- Limited
- Sorting
- Fetching a row at a time
- Item count
The idea is that you do...
$ds = DataSource::factory($moo);
Where $moo is an array, a stdclass, a DataObject or whatever. This datasource
interface should allow any type of information container to be bound to
DataGrid, or anything like that.
Before I wonder off and get on with this, has anyone made any progress?
--
Ian P. Christian
- pookey@pookey.co.uk
- http://www.pookey.co.uk/