function xmlrpc_message_set

xmlrpc_message_set($value = NULL)

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()

File

includes/xmlrpc.inc, line 243
Drupal XML-RPC library.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!xmlrpc.inc/function/xmlrpc_message_set/7.x