Class Zend_XmlRpc_Client

Description

An XML-RPC client implementation

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/XmlRpc/Client.php (line 79)


	
			
Method Summary
 Zend_XmlRpc_Client __construct (string $server, [ $httpClient = null], [ $introspector = null])
 void call (string $method, [array $params = array()])
 void doRequest (Zend_XmlRpc_Request $request, [null|Zend_XmlRpc_Response $response = null])
 Zend_XmlRpc_Client_ServerProxy getProxy ([$namespace $namespace = ''])
 Zend_Http_Client_Abstract setHttpClient (Zend_Http_Client_Abstract $httpClient)
Methods
Constructor __construct (line 106)

Create a new XML-RPC client to a remote server

  • access: public
Zend_XmlRpc_Client __construct (string $server, [ $httpClient = null], [ $introspector = null])
  • string $server: Full address of the XML-RPC service (e.g. http://time.xmlrpc.com/RPC2)
  • $httpClient
  • $introspector
call (line 252)

Send an XML-RPC request to the service (for a specific method)

  • access: public
  • throws: Zend_Http_Client_FaultException
void call (string $method, [array $params = array()])
  • string $method: Name of the method we want to call
  • array $params: Array of parameters for the method
doRequest (line 211)

Perform an XML-RPC request and return a response.

  • access: public
void doRequest (Zend_XmlRpc_Request $request, [null|Zend_XmlRpc_Response $response = null])
getHttpClient (line 137)

Gets the HTTP client object.

  • access: public
Zend_Http_Client getHttpClient ()
getIntrospector (line 160)

Gets the introspection object.

  • access: public
getLastRequest (line 171)

The request of the last method call

  • access: public
Zend_XmlRpc_Request getLastRequest ()
getLastResponse (line 182)

The response received from the last method call

  • access: public
Zend_XmlRpc_Response getLastResponse ()
getProxy (line 194)

Returns a proxy object for more convenient method calls

  • access: public
Zend_XmlRpc_Client_ServerProxy getProxy ([$namespace $namespace = ''])
  • $namespace $namespace: Namespace to proxy or empty string for none
setHttpClient (line 126)

Sets the HTTP client object to use for connecting the XML-RPC server.

  • access: public
Zend_Http_Client_Abstract setHttpClient (Zend_Http_Client_Abstract $httpClient)
  • Zend_Http_Client_Abstract $httpClient
setIntrospector (line 149)

Sets the object used to introspect remote servers

  • access: public

Documentation generated on Wed, 21 Feb 2007 11:46:17 -0800 by phpDocumentor 1.3.1