Results 1 to 3 of 3
Thread: Where am I being called from?
Aug 15, 2007, 05:15 #1
- Join Date
- Aug 2007
- 0 Post(s)
- 0 Thread(s)
Where am I being called from?
Is there any way to check from where a property is being called?
Like from outside an object, from inside its children or inside himself?
I am doing some tests with the possibility of type hinting and strong typing classes like the structure proposed by jan.kneschke here, and doing so with the use of __get and __set.
But I need to know where the property is being called from, since it seems that I can't simply access that information from inside the magic methods (since I am calling an unspecified property).
I apreciate any help.