Class Zend_XmlRpc_Client

Description

An XML-RPC client implementation

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

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


	
			
Method Summary
Methods
Constructor __construct (line 108)

Create a new XML-RPC client to a remote server

  • access: public
void __construct (string $server, [ $httpClient = null])
  • string $server: Full address of the XML-RPC service (e.g. http://time.xmlrpc.com/RPC2)
  • Zend_Http_Client $httpClient: HTTP Client to use for requests
call (line 253)

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

  • throws: Zend_Http_Client_FaultException
  • access: public
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 212)

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 138)

Gets the HTTP client object.

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

Gets the introspection object.

  • access: public
getLastRequest (line 172)

The request of the last method call

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

The response received from the last method call

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

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 127)

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

  • access: public
Zend_Http_Client setHttpClient ( $httpClient)
setIntrospector (line 150)

Sets the object used to introspect remote servers

  • access: public

Documentation generated on Sun, 27 May 2007 23:21:36 -0700 by phpDocumentor 1.3.2