输入banner图图片脚本导航/分类

php之对象工具_PHP教程

class_exists — 检查类是否已定义,如果类存在返回true

get_class — 返回对象的类名

get_class_methods — 返回由类的方法名组成的数组

get_declared_classes — 返回由已定义类的名字所组成的数组

is_callable — 检测参数是否为合法的可调用结构

method_exists — 检查类的方法是否存在

    bool method_exists ( mixed $object , string $method_name )

    检查类的方法是否存在于指定的 object中。

get_class_vars — 返回由类的默认属性组成的数组(只显示public属性)

    array get_class_vars ( string $class_name )

    返回由类的默认公有属性组成的关联数组,此数组的元素以 varname => value 的形式存在。

get_parent_class — 返回对象或类的父类名

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

call_user_func — Call the callback given by the first parameter

call_user_func_array — Call a callback with an array of parameters

flectionClass 类报告了一个类的有关信息。

Reflection::export — Exports

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/440166.htmlTechArticleclass_exists 检查类是否已定义,如果类存在返回true get_class 返回对象的类名 get_class_methods 返回由类的方法名组成的数组 get_declared_classes 返回...