|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.ClassesModule
public class ClassesModule
Quercus class information
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
| Constructor Summary | |
|---|---|
ClassesModule()
|
|
| Method Summary | |
|---|---|
static Value |
call_user_method_array(Env env,
java.lang.String methodName,
Value obj,
ArrayValue params)
|
static Value |
call_user_method(Env env,
java.lang.String name,
Value obj,
Value[] args)
Calls an object method. |
boolean |
class_exists(Env env,
java.lang.String className,
boolean useAutoload)
returns true if the class exists. |
java.lang.String |
get_called_class(Env env)
|
static Value |
get_class_methods(Env env,
Value cls)
Returns an array of method names |
static Value |
get_class_vars(Env env,
Value clss)
Returns an array of member names and values |
Value |
get_class(Env env,
Value value)
Returns the object's class name |
static Value |
get_declared_classes(Env env)
Returns the declared classes |
static Value |
get_object_vars(Env env,
Value obj)
Returns the object's variables |
Value |
get_parent_class(Env env,
Value value)
Returns the object's class name |
boolean |
interface_exists(Env env,
java.lang.String interfaceName,
boolean useAutoload)
Returns true if the class exists. |
static boolean |
is_a(Value value,
java.lang.String name)
Returns true if the object implements the given class. |
static boolean |
is_object(Value value)
Returns true if the argument is an object. |
static boolean |
is_subclass_of(Env env,
Value value,
java.lang.String name)
Returns true if the object implements the given class. |
static boolean |
method_exists(Value obj,
java.lang.String methodName)
Returns true if the named method exists on the object. |
| Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
getConstMap, getIniDefinitions, getLoadedExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassesModule()
| Method Detail |
|---|
public static Value call_user_method(Env env,
java.lang.String name,
Value obj,
Value[] args)
public static Value call_user_method_array(Env env,
java.lang.String methodName,
Value obj,
ArrayValue params)
public boolean class_exists(Env env,
java.lang.String className,
boolean useAutoload)
public Value get_class(Env env,
Value value)
public java.lang.String get_called_class(Env env)
public static Value get_class_methods(Env env,
Value cls)
clss - the name of the class, or an instance of a class
public static Value get_class_vars(Env env,
Value clss)
clss - the name of the class, or an instance of a class
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,
java.lang.String interfaceName,
boolean useAutoload)
public static boolean is_a(Value value,
java.lang.String name)
public static boolean is_object(Value value)
public static boolean is_subclass_of(Env env,
Value value,
java.lang.String name)
public static boolean method_exists(Value obj,
java.lang.String methodName)
obj - the object to testmethodName - the name of the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||