Re: Structures_DataGrid broken with DB_Object
| From: | Justin Patrin | Date: | Mon, 22 Nov 2004 01:51:09 +0000 |
| Subject: | Re: Structures_DataGrid broken with DB_Object | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15748@lists.php.net to get a copy of this message | ||
On Sun, 21 Nov 2004 17:06:56 -0800, Ken Restivo <ken@restivo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, Nov 21, 2004 at 11:47:11AM -0800, Justin Patrin wrote:
> > On Sat, 20 Nov 2004 20:05:27 -0800, Ken Restivo <ken@restivo.org> wrote:
> > > I copied this example verbatim from the Structures_DataGrid documentation, changing
> > > only the name and location of my object:
> > >
> snip
> > >
> >
> > The example is for the forthcoming version of DataGrid. The current
> > release doesn't support DB_DataObject yet. Try the version in CVS.
> >
>
> Thanks.
>
> Ugh. I hate it when documentation is out of sync with releases. If I were a cartoon character,
> I'd have a thick, dark squiggle over my head.
>
> However, I think I can work around this by manually fetching rows as assoc arrays, thanks.
>
You can always use DB_DataObject's toArray() method as well. Or just
gett he CVS version of DataGrid.
--
Justin Patrin