Connecting Tech Pros Worldwide Help | Site Map

php:xmlrpc server methods inside my class?

glin@tollnz.co.nz
Guest
 
Posts: n/a
#1: Jul 17 '05
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 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