[dev] Anyone ever used the XML_RPC feature..??

Jan Schneider jan@horde.org
Wed Oct 23 12:41:37 2002


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Yes, the rpc class hasn't been updated after the latest changes in the
> > registry. I'll see if I can fix it in the next days.
> 
> Hmm. Do we have to pre-register all the methods we're going to handle? If
> not, I can clean this up nicely; if so, it's kind of icky...

Sort of. I call:
xmlrpc_server_register_method($this->_server, "$app.$method", array('RPC',
'_dispatcher'));

That means, we need to have the method name (as a string) but we register
the static method _dispatcher() for all methods.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft