function xmlrpc_server_set
7.x xmlrpcs.inc | xmlrpc_server_set($xmlrpc_server = NULL) |
6.x xmlrpcs.inc | xmlrpc_server_set($xmlrpc_server = NULL) |
Stores a copy of an XML-RPC request temporarily.
Parameters
object $xmlrpc_server: (optional) Request object created by xmlrpc_server(). Omit to leave the previous server object saved.
Return value
The latest stored request.
See also
2 calls to xmlrpc_server_set()
- xmlrpc_server in drupal-7.x/
includes/ xmlrpcs.inc - Invokes XML-RPC methods on this server.
- xmlrpc_server_get in drupal-7.x/
includes/ xmlrpcs.inc - Retrieves the latest stored XML-RPC request.
File
- drupal-7.x/
includes/ xmlrpcs.inc, line 144 - Provides API for defining and handling XML-RPC requests.
Code
function xmlrpc_server_set($xmlrpc_server = NULL) {
static $server;
if (!isset($server)) {
$server = $xmlrpc_server;
}
return $server;
}