is_subclass_of
Returns &true; if the object has this class as one of its parents
Description
boolis_subclass_of
mixedobject
stringclass_name
This function returns &true; if the object
object, belongs to a class which is a
subclass of class_name, &false; otherwise.
Since PHP 5.0.3 you may also specify the object
parameter as a string (the name of the class).
is_subclass_of example
]]>
&example.outputs;
See also get_class,
get_parent_class and
is_a.