| 
	
 | 
 Posted by T. Wintershoven on 09/11/06 13:33 
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. 
 
Thanks in advance 
Regards, 
Tino Wintershoven 
 
**************************************************************************** 
******************************************** 
DUTCH 
 
Als een object een array bevat van andere objecten, hoe kan je dan gegevens 
uitlezen uit die andere objecten?? 
Ik probeerde dit: 
 
echo $this->m_aObjectkeeper[$p_sIndex]->m_sEenVariable; 
 
Bovenstaande wordt uitgevoerd vanuit het object waar de array wordt gevuld. 
Helaas werkt het niet 
 
Bij voorbaat dank. 
Mvg 
Tino Wintershoven
 
  
Navigation:
[Reply to this message] 
 |