You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return type for the `fx(String, Object ... args)` method is an instance of our <ahref="http://aaroncollegeman.com/static/projects/php-in-java/javadoc/net/collegeman/phpinjava/PHPObject.html">`PHPObject`</a> class, which wraps a special kind of Quercus object called <ahref="http://www.caucho.com/resin-javadoc/com/caucho/quercus/env/Value.html">`Value`</a>. Through our `PHPObject` API you can
61
+
// or...
62
+
PHPObject returnValue = php.fx("function_name", new Object[]{arg1, arg2});
The return type of the `fx(String, Object ... args)` method is an instance of our <ahref="http://aaroncollegeman.com/static/projects/php-in-java/javadoc/net/collegeman/phpinjava/PHPObject.html">`PHPObject`</a> class, which wraps a special kind of Quercus object called <ahref="http://www.caucho.com/resin-javadoc/com/caucho/quercus/env/Value.html">`Value`</a>. Through our `PHPObject` API you can
60
71
61
72
* retrieve a `String` version of the `Value`'s content with `toString()`
62
73
* read/write object properties with `getProperty(String property)` and `setProperty(String property, Object newValue)`
63
74
* invoke object methods with `invokeMethod(String name, Object ... args)`
64
-
* gain direct access to the wrapped `Value` object through `getWrappedValue()`
75
+
* gain direct access to the wrapped `Value` object through `getWrappedValue()`
0 commit comments