xmlrpc_message
- Versions
- 4.6 – 7
xmlrpc_message($message)
Construct an object representing an XML-RPC message.
Parameters
$message String containing XML as defined at http://www.xmlrpc.com/spec
Return value
Object
Code
includes/xmlrpc.inc, line 140
<?php
function xmlrpc_message($message) {
$xmlrpc_message = new stdClass();
$xmlrpc_message->array_structs = array(); // The stack used to keep track of the current array/struct
$xmlrpc_message->array_structs_types = array(); // The stack used to keep track of if things are structs or array
$xmlrpc_message->current_struct_name = array(); // A stack as well
$xmlrpc_message->message = $message;
return $xmlrpc_message;
}
?>Login or register to post comments 