|
Posted by Rik on 09/11/06 21:08
T. Wintershoven wrote:
> If an object contains an array of other objects, how can i read the
> data from these other objects?
> I tried this:
>
> echo $this->m_aObjectkeeper[$p_sIndex]->m_sSomeVariable;
>
> The code above runs from within the object that contains the array,
> but sadly doesn't work.
Should run fine in PHP4 & 5, a litle test scenario works perfectly here.
Probably the problem is elsewhere
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|