function xmlrpc_server_set

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

xmlrpc_server_get()

2 calls to xmlrpc_server_set()
xmlrpc_server in includes/xmlrpcs.inc
Invokes XML-RPC methods on this server.
xmlrpc_server_get in includes/xmlrpcs.inc
Retrieves the latest stored XML-RPC request.

File

includes/xmlrpcs.inc, line 146

Code

function xmlrpc_server_set($xmlrpc_server = NULL) {
    static $server;
    if (!isset($server)) {
        $server = $xmlrpc_server;
    }
    return $server;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.