By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,575 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,575 IT Pros & Developers. It's quick & easy.

php:xmlrpc server methods inside my class?

P: 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

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.