PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<is_amethod_exists>
Last updated: Mon, 16 Jul 2012

is_subclass_of

(PHP 4, PHP 5)

is_subclass_of --  如果此对象是该类的子类,则返回 TRUE

描述

bool is_subclass_of ( object object, string class_name )

如果对象 object 所属类是类 class_name 的子类,则返回 TRUE,否则返回 FALSE

参见 get_class()get_parent_class()is_a()




<is_amethod_exists>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST