php:xmlrpc server methods inside my class?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi I have been researching on the net and I cannot find out anything
that mentions about if the php xmlrpc server methods can be put inside
of a class. And the javascript client can call the methods.

class Server
  var $functionMap;

  function methodA()
    return new xmlrpcresp(xmlrpc_encode(1));

  function Server()
    return new xmlrpc_server($this->functionMap);

$server = new Server();


Site Timeline