how to perform dynamic cascading references ??
Posted: Mon Feb 25, 2008 2:33 am
Hello forums!!
I would like to how to access nested objects
supppose i had an array
I would like to perform referencing as per array ie
I dont know how to perform dynamic cascading references.
Can anybody make a help on this.
Any help / comment/ suggestions are warmly welcome.
I would like to how to access nested objects
supppose i had an array
Code: Select all
$array = array("parent_obj", "child_obj1", "child_obj2");Code: Select all
$this->parent_obj->child_obj1->child_obj2;Can anybody make a help on this.
Any help / comment/ suggestions are warmly welcome.