43 require_once
'XML/RPC2/Exception.php';
44 require_once
'XML/RPC2/Server/Method.php';
45 require_once
'XML/RPC2/Server/CallHandler.php';
115 $this->_instance = $instance;
116 $reflection =
new ReflectionClass(get_class($instance));
117 foreach ($reflection->getMethods() as $method) {
118 if (!$method->isStatic() && $method->isPublic() && !$method->isConstructor())
121 if (!$candidate->isHidden()) $this->
addMethod($candidate);
136 public function __call($methodName, $parameters)
138 if (!array_key_exists($methodName, $this->
getMethods())) {
141 return call_user_func_array(array($this->_instance, $this->
getMethod($methodName)->getInternalMethod()), $parameters);