Check Class Inheritance
Posted: Tue Apr 01, 2008 10:27 pm
I have a function which I need to check if an object inherits a certain class and if so act on it. I'm not sure of PHP has a native function to check if the class extends another class and to get that class name which is why I'm asking here. If not can anyone suggest a way to determine if an object is extending a certain class? Thanks.