function xmlrpc_message_set

Stores a copy of the most recent XML-RPC message object temporarily.

Parameters

$value: An XML-RPC message to store, or NULL to keep the last message.

Return value

object The most recently stored message.

See also

xmlrpc_message_get()

5 calls to xmlrpc_message_set()
xmlrpc_message_cdata in includes/xmlrpc.inc
Handles character data for XML parsing in xmlrpc_message_parse().
xmlrpc_message_get in includes/xmlrpc.inc
Returns the most recently stored XML-RPC message object.
xmlrpc_message_parse in includes/xmlrpc.inc
Parses an XML-RPC message.
xmlrpc_message_tag_close in includes/xmlrpc.inc
Handles closing tags for XML parsing in xmlrpc_message_parse().
xmlrpc_message_tag_open in includes/xmlrpc.inc
Handles opening tags for XML parsing in xmlrpc_message_parse().

File

includes/xmlrpc.inc, line 243

Code

function xmlrpc_message_set($value = NULL) {
    static $xmlrpc_message;
    if ($value) {
        $xmlrpc_message = $value;
    }
    return $xmlrpc_message;
}

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