[dev] Rdo array Access.

Duck duck at obala.net
Sat Jun 9 20:50:54 UTC 2007


On Saturday 09 of June 2007 21:39:57 Chuck Hagenbuch wrote:
> It was dropped because I couldn't see a good use for it. You can get
> an array from any RDO object by using $ob->getIterator->getArrayCopy()
> (and this will include relationships, etc.).
>
> What's a small example case of where array access to object properties
> helps you? What does serialization have to do with it (we can just
> exclude mappers from what is serialized in Rdo objects - that's
> probably a good idea anyway).

Or in he horde_currency was possible to pass a cached array of currency data 
or a directly cerated rdo object. Oky here I solved it with 
iterator_to_array().

Duck


More information about the dev mailing list