Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.7.0
-
Component/s: Zend_XmlRpc_Server
-
Labels:None
-
Fix Version Priority:Should Have
Description
Add support for explicit namespace.name => function/method mapping.
Similar in nature to:
http://scripts.incutio.com/xmlrpc/basic-server-construction.php
Essentially, expected api:
$server->addMethod($functionName, $functionMethodCallback);
if ($this) was passed in $functionmethodCallback, the server SHOULD NOT attempt to clone or recreate the object, instead it should map the call the to already passed in object. This will be useful when embedding an XMLRPC server inside a controllers action.
Addionally, if a valid callback is presented as strings, an object should be created.
For more info, contact me if need be.
Tentatively scheduling for 1.1.0. It requires changes to Zend_Server_Reflection, as well as to each server class.