Go to the source code of this file.
Functions | |
xmlrpc_value ($data, $type=FALSE) | |
xmlrpc_value_calculate_type (&$xmlrpc_value) | |
xmlrpc_value_get_xml ($xmlrpc_value) | |
xmlrpc_message ($message) | |
xmlrpc_message_parse (&$xmlrpc_message) | |
xmlrpc_message_set ($value=NULL) | |
xmlrpc_message_get () | |
xmlrpc_message_tag_open ($parser, $tag, $attr) | |
xmlrpc_message_cdata ($parser, $cdata) | |
xmlrpc_message_tag_close ($parser, $tag) | |
xmlrpc_request ($method, $args) | |
xmlrpc_error ($code=NULL, $message=NULL) | |
xmlrpc_error_get_xml ($xmlrpc_error) | |
xmlrpc_date ($time) | |
xmlrpc_date_get_xml ($xmlrpc_date) | |
xmlrpc_base64 ($data) | |
xmlrpc_base64_get_xml ($xmlrpc_base64) | |
_xmlrpc () | |
xmlrpc_errno () | |
xmlrpc_error_msg () |
Definition in file xmlrpc.inc.
_xmlrpc | ( | ) |
Execute an XML remote procedural call. This is private function; call xmlrpc() in common.inc instead of this function.
Definition at line 427 of file xmlrpc.inc.
References $result, $url, drupal_http_request(), t(), xmlrpc_error(), xmlrpc_message(), xmlrpc_message_parse(), and xmlrpc_request().
xmlrpc_base64 | ( | $ | data | ) |
Definition at line 409 of file xmlrpc.inc.
xmlrpc_base64_get_xml | ( | $ | xmlrpc_base64 | ) |
xmlrpc_date | ( | $ | time | ) |
xmlrpc_date_get_xml | ( | $ | xmlrpc_date | ) |
xmlrpc_errno | ( | ) |
Returns the last XML-RPC client error number
Definition at line 466 of file xmlrpc.inc.
References xmlrpc_error().
xmlrpc_error | ( | $ | code = NULL , |
|
$ | message = NULL | |||
) |
Definition at line 345 of file xmlrpc.inc.
References module_invoke().
Referenced by _xmlrpc(), xmlrpc_errno(), xmlrpc_error_msg(), xmlrpc_server_call(), xmlrpc_server_error(), xmlrpc_server_method_signature(), and xmlrpc_server_multicall().
xmlrpc_error_get_xml | ( | $ | xmlrpc_error | ) |
xmlrpc_error_msg | ( | ) |
Returns the last XML-RPC client error message
Definition at line 474 of file xmlrpc.inc.
References xmlrpc_error().
xmlrpc_message | ( | $ | message | ) |
Construct an object representing an XML-RPC message.
$message | String containing XML as defined at |
Definition at line 141 of file xmlrpc.inc.
Referenced by _xmlrpc(), and xmlrpc_server().
xmlrpc_message_cdata | ( | $ | parser, | |
$ | cdata | |||
) |
Definition at line 228 of file xmlrpc.inc.
References xmlrpc_message_get(), and xmlrpc_message_set().
xmlrpc_message_get | ( | ) |
Definition at line 201 of file xmlrpc.inc.
References xmlrpc_message_set().
Referenced by xmlrpc_message_cdata(), xmlrpc_message_parse(), xmlrpc_message_tag_close(), and xmlrpc_message_tag_open().
xmlrpc_message_parse | ( | &$ | xmlrpc_message | ) |
Parse an XML-RPC message. If parsing fails, the faultCode and faultString will be added to the message object.
$xmlrpc_message | Object generated by xmlrpc_message() |
Definition at line 159 of file xmlrpc.inc.
References xmlrpc_message_get(), and xmlrpc_message_set().
Referenced by _xmlrpc(), and xmlrpc_server().
xmlrpc_message_set | ( | $ | value = NULL |
) |
Store a copy of the $xmlrpc_message object temporarily.
$value | Object |
Definition at line 193 of file xmlrpc.inc.
References $value.
Referenced by xmlrpc_message_cdata(), xmlrpc_message_get(), xmlrpc_message_parse(), xmlrpc_message_tag_close(), and xmlrpc_message_tag_open().
xmlrpc_message_tag_close | ( | $ | parser, | |
$ | tag | |||
) |
Definition at line 234 of file xmlrpc.inc.
References $value, xmlrpc_date(), xmlrpc_message_get(), and xmlrpc_message_set().
xmlrpc_message_tag_open | ( | $ | parser, | |
$ | tag, | |||
$ | attr | |||
) |
Definition at line 205 of file xmlrpc.inc.
References xmlrpc_message_get(), and xmlrpc_message_set().
xmlrpc_request | ( | $ | method, | |
$ | args | |||
) |
Construct an object representing an XML-RPC request
$method | The name of the method to be called | |
$args | An array of parameters to send with the method. |
Definition at line 323 of file xmlrpc.inc.
References xmlrpc_value(), and xmlrpc_value_get_xml().
Referenced by _xmlrpc().
xmlrpc_value | ( | $ | data, | |
$ | type = FALSE | |||
) |
Recursively turn a data structure into objects with 'data' and 'type' attributes.
$data | The data structure. | |
$type | Optional type assign to $data. |
Definition at line 23 of file xmlrpc.inc.
References $type, $value, and xmlrpc_value_calculate_type().
Referenced by xmlrpc_request(), and xmlrpc_server().
xmlrpc_value_calculate_type | ( | &$ | xmlrpc_value | ) |
Map PHP type to XML-RPC type.
$xmlrpc_value | Variable whose type should be mapped. |
Definition at line 54 of file xmlrpc.inc.
Referenced by xmlrpc_value().
xmlrpc_value_get_xml | ( | $ | xmlrpc_value | ) |
Generate XML representing the given value.
$xmlrpc_value |
Definition at line 90 of file xmlrpc.inc.
References $name, $return, $value, check_plain(), xmlrpc_base64_get_xml(), and xmlrpc_date_get_xml().
Referenced by xmlrpc_request(), and xmlrpc_server().