Connecting Tech Pros Worldwide Help | Site Map

php:xmlrpc server methods inside my class?

  #1  
Old July 17th, 2005, 01:52 PM
glin@tollnz.co.nz
Guest
 
Posts: n/a
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.

like
class Server
{
var $functionMap;

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

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

$server = new Server();

Thanks

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want a strange XML RPC server Laszlo Nagy answers 0 January 8th, 2008 11:25 AM
php:xmlrpc server methods inside my class? glin@tollnz.co.nz answers 0 July 17th, 2005 01:52 PM
php:xmlrpc server methods inside my class? glin@tollnz.co.nz answers 0 July 17th, 2005 01:52 PM