function xmlrpc_error
7.x xmlrpc.inc | xmlrpc_error($code = NULL, $message = NULL, $reset = FALSE) |
6.x xmlrpc.inc | xmlrpc_error($code = NULL, $message = NULL, $reset = FALSE) |
9 calls to xmlrpc_error()
- blogapi_error in drupal-6.x/
modules/ blogapi/ blogapi.module - Prepare an error message for returning to the XMLRPC caller.
- xmlrpc_clear_error in drupal-6.x/
includes/ xmlrpc.inc - Clears any previous error.
- xmlrpc_errno in drupal-6.x/
includes/ xmlrpc.inc - Returns the last XML-RPC client error number
- xmlrpc_error_msg in drupal-6.x/
includes/ xmlrpc.inc - Returns the last XML-RPC client error message
- xmlrpc_server_call in drupal-6.x/
includes/ xmlrpcs.inc - Dispatch the request and any parameters to the appropriate handler.
File
- drupal-6.x/
includes/ xmlrpc.inc, line 342 - Drupal XML-RPC library. Based on the IXR - The Incutio XML-RPC Library - (c) Incutio Ltd 2002-2005 Version 1.7 (beta) - Simon Willison, 23rd May 2005 Site: http://scripts.incutio.com/xmlrpc/ Manual: http://scripts.incutio.com/xmlrpc/manual.php This…
Code
function xmlrpc_error($code = NULL, $message = NULL, $reset = FALSE) {
static $xmlrpc_error;
if (isset($code)) {
$xmlrpc_error = new stdClass();
$xmlrpc_error->is_error = TRUE;
$xmlrpc_error->code = $code;
$xmlrpc_error->message = $message;
}
elseif ($reset) {
$xmlrpc_error = NULL;
}
return $xmlrpc_error;
}