[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-general
Subject: Re: [PEAR] DataObject::toArray
From: Brad Hubbard <brad () congosystems ! com>
Date: 2003-05-28 0:53:37
[Download RAW message or body]
On Wed, 2003-05-28 at 00:37, LIMBOURG Arnaud wrote:
> Hello,
>
> While using dataobjects i noticed the following behaviour.
>
> $obj = new DBO_Person;
> $obj->selectAdd('count(*) as nb_people');
> $obj->groupBy('id');
>
> echo $obj->toArray()
>
> nb_people won't be shown. Is that an expected behaviour ?
Try;
print_r( $obj->toArray() );
Brad
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic