Zend_XmlRpc_ServerAn XML-RPC server implementation
Example:
Located in /Zend/XmlRpc/Server.php (line 121)
string
$_encoding
= 'UTF-8' (line 127)
Character encoding
array
$_methods
= array() (line 133)
Array of dispatchables
null|Zend_XmlRpc_Request
$_request
= null (line 139)
Request processed
string
$_responseClass
= 'Zend_XmlRpc_Response_Http' (line 145)
Class to use for responses; defaults to Zend_XmlRpc_Response_Http
array
$_table
= array() (line 151)
Dispatch table of name => method pairs
array
$_typeMap
= array(PHP types => XML-RPC types
Constructor __construct (line 189)
Constructor
Creates system.* methods.
addFunction (line 313)
Attach a callback as an XMLRPC method
Attaches a callback as an XMLRPC method, prefixing the XMLRPC method name with $namespace, if provided. Reflection is done on the callback's docblock to create the methodHelp for the XMLRPC method.
Additional arguments to pass to the function at dispatch may be passed; any arguments following the namespace will be aggregated and passed at dispatch time.
fault (line 456)
Raise an xmlrpc server fault
getEncoding (line 292)
Retrieve current encoding
getFunctions (line 607)
Returns a list of registered methods
Returns an array of dispatchables (Zend_Server_Reflection_Function, _Method, and _Class items).
getRequest (line 444)
Return currently registered request object
listMethods (line 630)
List all available XMLRPC methods
Returns an array of methods.
loadFunctions (line 346)
Load methods as returned from getFunctions
Typically, you will not use this method; it will be called using the results pulled from Zend_XmlRpc_Server_Cache::get().
methodHelp (line 641)
Display help message for an XMLRPC method
methodSignature (line 656)
Return a method signature
multicall (line 692)
Multicall - boxcar feature of XML-RPC for calling multiple methods in a single request.
Expects a an array of structs representing method calls, each element having the keys:
setClass (line 398)
Attach class methods as XMLRPC method handlers
$class may be either a class name or an object. Reflection is done on the class or object to determine the available public methods, and each is attached to the server as an available method; if a $namespace has been provided, that namespace is used to prefix the XMLRPC method names.
Any additional arguments beyond $namespace will be passed to a method at invocation.
setEncoding (line 281)
Set encoding
setPersistence (line 377)
Do nothing; persistence is handled via Zend_XmlRpc_Server_Cache
setResponseClass (line 586)
Set the class to use for the response
_buildDispatchTable (line 237)
Re/Build the dispatch table
The dispatch table consists of a an array of method name => Zend_Server_Reflection_Function_Abstract pairs
_fixTypes (line 215)
Map PHP parameter types to XML-RPC types
Documentation generated on Wed, 21 Feb 2007 11:59:33 -0800 by phpDocumentor 1.3.1