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 drupal/core/modules/xmlrpc/xmlrpc.inc
Handles character data for XML parsing in xmlrpc_message_parse().
xmlrpc_message_get in drupal/core/modules/xmlrpc/xmlrpc.inc
Returns the most recently stored XML-RPC message object.
xmlrpc_message_parse in drupal/core/modules/xmlrpc/xmlrpc.inc
Parses an XML-RPC message.
xmlrpc_message_tag_close in drupal/core/modules/xmlrpc/xmlrpc.inc
Handles closing tags for XML parsing in xmlrpc_message_parse().
xmlrpc_message_tag_open in drupal/core/modules/xmlrpc/xmlrpc.inc
Handles opening tags for XML parsing in xmlrpc_message_parse().

File

drupal/core/modules/xmlrpc/xmlrpc.inc, line 212
Drupal XML-RPC library.

Code

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