Possible Duplicate:
How to tell whether I’m static or an object?
How can I tell if a function is being called statically in PHP?
I meant if you call the method in this way class::method()
or in this way
$class->method()
How do I know which way was called method in the same method?