| java.lang.Object com.caucho.quercus.module.AbstractQuercusModule com.caucho.quercus.lib.ClassesModule
Method Summary | |
public boolean | class_exists(Env env, String className, boolean useAutoload) Returns true if the class exists. | public Value | get_class(Env env, Value value) | public static Set<String> | get_class_methods(Env env, Value clss) | public static Value | get_class_vars(Env env, Value clss) | public static Value | get_declared_classes(Env env) | public static Value | get_object_vars(Env env, Value obj) | public Value | get_parent_class(Env env, Value value) | public boolean | interface_exists(Env env, String interfaceName, boolean useAutoload) Returns true if the class exists. | public static boolean | is_a(Value value, String name) Returns true if the object implements the given class. | public static boolean | is_object(Value value) Returns true if the argument is an object. | public static boolean | is_subclass_of(Env env, Value value, String name) Returns true if the object implements the given class. | public static boolean | method_exists(Value obj, String methodName) Returns true if the named method exists on the object. |
class_exists | public boolean class_exists(Env env, String className, boolean useAutoload)(Code) | | Returns true if the class exists.
|
get_class_methods | public static Set<String> get_class_methods(Env env, Value clss)(Code) | | Returns an array of method names
Parameters: clss - the name of the class, or an instance of a class an array of method names |
get_class_vars | public static Value get_class_vars(Env env, Value clss)(Code) | | Returns an array of member names and values
Parameters: clss - the name of the class, or an instance of a class an array of member names and values |
get_declared_classes | public static Value get_declared_classes(Env env)(Code) | | Returns the declared classes
|
get_object_vars | public static Value get_object_vars(Env env, Value obj)(Code) | | Returns the object's variables
|
get_parent_class | public Value get_parent_class(Env env, Value value)(Code) | | Returns the object's class name
|
interface_exists | public boolean interface_exists(Env env, String interfaceName, boolean useAutoload)(Code) | | Returns true if the class exists.
|
is_a | public static boolean is_a(Value value, String name)(Code) | | Returns true if the object implements the given class.
|
is_object | public static boolean is_object(Value value)(Code) | | Returns true if the argument is an object.
|
is_subclass_of | public static boolean is_subclass_of(Env env, Value value, String name)(Code) | | Returns true if the object implements the given class.
|
method_exists | public static boolean method_exists(Value obj, String methodName)(Code) | | Returns true if the named method exists on the object.
Parameters: obj - the object to test Parameters: methodName - the name of the method |
|
|