xmlrpc_message

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/xmlrpc.inc, строка 140

Версии
5 – 6
xmlrpc_message($message)

Construct an object representing an XML-RPC message.

Параметры

$message String containing XML as defined at http://www.xmlrpc.com/spec

Возвращаемое значение

Object

▾ 2 функции вызывают xmlrpc_message()

xmlrpc_server in includes/xmlrpcs.inc
The main entry point for XML-RPC requests.
_xmlrpc in includes/xmlrpc.inc
Execute an XML remote procedural call. This is private function; call xmlrpc() in common.inc instead of this function.

Код

<?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;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему