Hi,
I have a problem when I access methods of nested classes. I have a class A which has B as its member.
Now I have an array of classes A.
When I try to access the name of object B for a particular instance of A:
array[$i]->getB( )->getName( )
I get the following error:
Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition B of the object you are trying to operate on was
loaded before the session was started in html/DSTPHTMLWriter.php on line 528
This happens for any such access I try and has been holding me for a while now! Any help would be greatly appreciated!
Thanks,
Rajiv