[phpxmlrpc-devel] debugging info extension
Brought to you by:
ggiunta
From: Gaetano G. <giu...@se...> - 2002-09-25 09:52:59
|
Could it be be a good idea to move xmlrpc_debugmsg into the server = class, using a property for storing debug string info rather than a = global variable? It surely would allow to create 2 instances of the server class and use = them at the same time [altough I know no real use for it!] Besides, it could be useful to add the xmlrpc_debugmsg function to the = client, too. This would lead to a cleaner implementation of debug info, = making it uniform between client & server (right now the server has = xmlrpc_debugmsg, while the client has setDebug, and the msg only has the = debug property but no access methods). The downside is, of course, breaking the API... the big problem I see is that the functions registered by the server do = not have a pointer to the server instance itself at the moment (except = for system. functions), so calling a method of the server is unfeasable = :( Bye, Gaetano |