setClass()
setClass(mixed $class, string $namespace = '', $argv = null) : void
Attach a class to a server
The individual implementations should probably allow passing a variable
number of arguments in, so that developers may define custom runtime
arguments to pass to server methods.
Namespacing is primarily for xmlrpc, but could be used for other
implementations as well.
Parameters
mixed |
$class |
Class name or object instance to examine and attach
to the server. |
string |
$namespace |
Optional namespace with which to prepend method
names in the dispatch table.
methods in the class will be valid callbacks. |
|
$argv |
|