You are here

function xmlrpc_message_set in Drupal 4

Same name and namespace in other branches
  1. 5 includes/xmlrpc.inc \xmlrpc_message_set()
  2. 6 includes/xmlrpc.inc \xmlrpc_message_set()
  3. 7 includes/xmlrpc.inc \xmlrpc_message_set()

Store a copy of the $xmlrpc_message object temporarily.

Parameters

$value: Object

Return value

The most recently stored $xmlrpc_message

5 calls to xmlrpc_message_set()
xmlrpc_message_cdata in includes/xmlrpc.inc
xmlrpc_message_get in includes/xmlrpc.inc
xmlrpc_message_parse in includes/xmlrpc.inc
Parse an XML-RPC message. If parsing fails, the faultCode and faultString will be added to the message object.
xmlrpc_message_tag_close in includes/xmlrpc.inc
xmlrpc_message_tag_open in includes/xmlrpc.inc

File

includes/xmlrpc.inc, line 193

Code

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