Source for file XmlRpc.php
Documentation is available at XmlRpc.php
require_once 'Services/Blogging/Exception.php';
require_once 'XML/RPC.php';
* XmlRpc helper methods for the blogging API
* @package Services_Blogging
* @author Anant Narayanan <anant@php.net>
* @author Christian Weiske <cweiske@php.net>
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
* The function that actually sends an XML-RPC request to the server, handles
* errors accordingly and returns the appropriately decoded data sent as response
* @param XML_RPC_Message $request An appropriately encoded XML-RPC message
* that needs to be sent as a request to the
* @param XML_RPC_Client $client The XML-RPC client as which the request
* @return Array The appropriately decoded response sent by the server.
$response = $client->send ($request);
} else if ($response->faultCode () != 0 ) {
$response->faultString (),
$value = XML_RPC_Decode ($response->value ());
if (!is_array($value) || !isset ($value['faultCode'])) {
}//public static function sendRequest($request, $client)
}//class Services_Blogging_XmlRpc
Documentation generated on Mon, 11 Mar 2019 14:57:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|