function xmlrpc_message_set in xmlrpc 8
Stores a copy of the most recent XML-RPC message object temporarily.
Parameters
object|null $value: An XML-RPC message to store, or NULL to keep the last message.
Return value
object The most recently stored message.
See also
5 calls to xmlrpc_message_set()
- xmlrpc_message_cdata in ./
xmlrpc.inc - Handles character data for XML parsing in xmlrpc_message_parse().
- xmlrpc_message_get in ./
xmlrpc.inc - Returns the most recently stored XML-RPC message object.
- xmlrpc_message_parse in ./
xmlrpc.inc - Parses an XML-RPC message.
- xmlrpc_message_tag_close in ./
xmlrpc.inc - Handles closing tags for XML parsing in xmlrpc_message_parse().
- xmlrpc_message_tag_open in ./
xmlrpc.inc - Handles opening tags for XML parsing in xmlrpc_message_parse().
File
- ./
xmlrpc.inc, line 215 - Drupal XML-RPC library.
Code
function xmlrpc_message_set($value = NULL) {
static $xmlrpc_message;
if ($value) {
$xmlrpc_message = $value;
}
return $xmlrpc_message;
}