function xmlrpc_message_set in Drupal 7
Same name and namespace in other branches
- 4 includes/xmlrpc.inc \xmlrpc_message_set()
- 5 includes/xmlrpc.inc \xmlrpc_message_set()
- 6 includes/xmlrpc.inc \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
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 - Drupal XML-RPC library.
Code
function xmlrpc_message_set($value = NULL) {
static $xmlrpc_message;
if ($value) {
$xmlrpc_message = $value;
}
return $xmlrpc_message;
}