is_subclass_of Checks if the object has this class as one of its parents &reftitle.description; boolis_subclass_of mixedobject stringclass_name Checks if the given object has the class class_name as one of its parents. &reftitle.parameters; object A class name or an object instance class_name The class name &reftitle.returnvalues; This function returns &true; if the object object, belongs to a class which is a subclass of class_name, &false; otherwise. &reftitle.changelog; &Version; &Description; 5.0.3 You may also specify the object parameter as a string (the name of the class) &reftitle.examples; <function>is_subclass_of</function> example ]]> &example.outputs; &reftitle.seealso; get_class get_parent_class is_a