Menu
Hello forums!!
I would like to how to access nested objects
supppose i had an array
[code=php]$array = array(“parent_obj”, “child_obj1”, “child_obj2”);
I would like to perform referencing as per array ie
[code=php]$this->parent_obj->child_obj1->child_obj2;
I dont know how to perform dynamic cascading references.
Can anybody make a help on this.
Any help / comment/ suggestions are warmly welcome.