Hello,
> This is done for performance reasons.
No doubt.
> The best way to use the
> fetchables is to do something like
>
> $result = mgd_list_xxx(blah);
> if ($result)
> while ($object = $result->fetch())
> {
> $object = mgd_get_xxx($result->id);
> // do something with $object
> }
Yes, I do it that way. But I'd feel more confortable if fetch() would
deliver a "real" object. But that's personal.
> I built a wrapper functions called mgd_fetch_to_array($fetchable) [1]
> for this to help me with my customized sorting procedures [2]. If
Thanks for the lead.
> Similarily, N would be 1 and __res__ either undefined or NULL.
A "regular" object has NONE of these members. No N, neither __res__ ;-)
> > Praemonitus -- praemunitus.
You are warned -- you are armed
/Victor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]