is_subclass_of

(PHP4 >= 4.0b4)

is_subclass_of --  Determines if an object belongs to a subclass of the specified class

Description

bool is_subclass_of (object obj, string superclass)

This function returns true if the object obj, belongs to a class which is a subclass of superclass, false otherwise.

See also get_class(), get_parent_class()


Hosted by Tonec Inc.