C:/drupal/includes/xmlrpcs.inc File Reference

Go to the source code of this file.


Functions

 xmlrpc_server ($callbacks)
 xmlrpc_server_error ($error, $message=FALSE)
 xmlrpc_server_output ($xml)
 xmlrpc_server_set ($xmlrpc_server=NULL)
 xmlrpc_server_get ()
 xmlrpc_server_call ($xmlrpc_server, $methodname, $args)
 xmlrpc_server_multicall ($methodcalls)
 xmlrpc_server_list_methods ()
 xmlrpc_server_get_capabilities ()
 xmlrpc_server_method_signature ($methodname)
 xmlrpc_server_method_help ($method)


Function Documentation

xmlrpc_server ( callbacks  ) 

The main entry point for XML-RPC requests.

Parameters:
$callbacks Array of external XML-RPC method names with the callbacks they map to.

Definition at line 10 of file xmlrpcs.inc.

References $result, t(), xmlrpc_message(), xmlrpc_message_parse(), xmlrpc_server_call(), xmlrpc_server_error(), xmlrpc_server_output(), xmlrpc_server_set(), xmlrpc_value(), and xmlrpc_value_get_xml().

Here is the call graph for this function:

xmlrpc_server_call ( xmlrpc_server,
methodname,
args 
)

Dispatch the request and any parameters to the appropriate handler.

Parameters:
$xmlrpc_server 
$methodname The external XML-RPC method name, e.g. 'system.methodHelp'
$args Array containing any parameters that were sent along with the request.

Definition at line 145 of file xmlrpcs.inc.

References $type, drupal_function_exists(), t(), and xmlrpc_error().

Referenced by xmlrpc_server(), and xmlrpc_server_multicall().

Here is the call graph for this function:

xmlrpc_server_error ( error,
message = FALSE 
)

Throw an XML-RPC error.

Parameters:
$error an error object OR integer error code
$message description of error, used only if integer error code was passed

Definition at line 100 of file xmlrpcs.inc.

References xmlrpc_error(), xmlrpc_error_get_xml(), and xmlrpc_server_output().

Referenced by xmlrpc_server().

Here is the call graph for this function:

xmlrpc_server_get (  ) 

Definition at line 132 of file xmlrpcs.inc.

References xmlrpc_server_set().

Referenced by xmlrpc_server_list_methods(), xmlrpc_server_method_help(), xmlrpc_server_method_signature(), and xmlrpc_server_multicall().

Here is the call graph for this function:

xmlrpc_server_get_capabilities (  ) 

XML-RPC method system.getCapabilities maps to this function. See

Definition at line 256 of file xmlrpcs.inc.

xmlrpc_server_list_methods (  ) 

XML-RPC method system.listMethods maps to this function.

Definition at line 247 of file xmlrpcs.inc.

References xmlrpc_server_get().

Here is the call graph for this function:

xmlrpc_server_method_help ( method  ) 

XML-RPC method system.methodHelp maps to this function.

Parameters:
$method Name of method for which we return a help string.

Definition at line 310 of file xmlrpcs.inc.

References xmlrpc_server_get().

Here is the call graph for this function:

xmlrpc_server_method_signature ( methodname  ) 

XML-RPC method system.methodSignature maps to this function.

Parameters:
$methodname Name of method for which we return a method signature.
Returns:
array An array of types representing the method signature of the function that the methodname maps to. The methodSignature of this function is 'array', 'string' because it takes an array and returns a string.

Definition at line 288 of file xmlrpcs.inc.

References $return, $type, t(), xmlrpc_error(), and xmlrpc_server_get().

Here is the call graph for this function:

xmlrpc_server_multicall ( methodcalls  ) 

Definition at line 212 of file xmlrpcs.inc.

References $result, $return, t(), xmlrpc_error(), xmlrpc_server_call(), and xmlrpc_server_get().

Here is the call graph for this function:

xmlrpc_server_output ( xml  ) 

Definition at line 107 of file xmlrpcs.inc.

References exit.

Referenced by xmlrpc_server(), and xmlrpc_server_error().

xmlrpc_server_set ( xmlrpc_server = NULL  ) 

Store a copy of the request temporarily.

Parameters:
$xmlrpc_server Request object created by xmlrpc_server().

Definition at line 123 of file xmlrpcs.inc.

Referenced by xmlrpc_server(), and xmlrpc_server_get().


Generated on Mon Jun 2 15:08:12 2008 for SimpleTest by  1.5.5