Lets say I\'m building a base class which will be extended upon by the children class. So a base class is called Base and children can be Child1, <
Base
Child1
simply call get_class($this) - note however that a base class method has no real business in changing its behaviour depending on which derived class is using it. That's the whole point of deriving a class :)