Developer Forums | Newsletter Signup | About Us | developerworks Latest | Site Map
Search  
HOME > PHPMANUAL


Sponsors






Web Host
site hosted by netplex

Online Manuals

is_subclass_of

(PHP 4 )

is_subclass_of --  Returns TRUE if the object has this class as one of its parents

Description

bool is_subclass_of ( object object, string class_name)

This function returns TRUE if the object object, belongs to a class which is a subclass of class_name, FALSE otherwise.

See also get_class(), get_parent_class() and is_a().

Copyright 2004-2008 GrindingGears.com. All rights reserved. Site hosted by NETPLEX