For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > April 2005 > php:xmlrpc server methods inside my class?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php:xmlrpc server methods inside my class?
glin@tollnz.co.nz

2005-04-28, 3:57 am

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com