2096. Class

2096.1. Zend\XmlRpc\Client

An XML-RPC client implementation

2096.1.1. Methods

2096.1.1.1. __construct

__construct()

Create a new XML-RPC client to a remote server

Parameters:

2096.1.1.2. setHttpClient

setHttpClient()

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

Parameters:ZendHttpClient
Return type:ZendHttpClient

2096.1.1.3. getHttpClient

getHttpClient()

Gets the HTTP client object.

Return type:ZendHttpClient

2096.1.1.4. setIntrospector

setIntrospector()

Sets the object used to introspect remote servers

Parameters:ZendXmlRpcClientServerIntrospection
Return type:ZendXmlRpcClientServerIntrospection

2096.1.1.5. getIntrospector

getIntrospector()

Gets the introspection object.

Return type:ZendXmlRpcClientServerIntrospection

2096.1.1.6. getLastRequest

getLastRequest()

The request of the last method call

Return type:ZendXmlRpcRequest

2096.1.1.7. getLastResponse

getLastResponse()

The response received from the last method call

Return type:ZendXmlRpcResponse

2096.1.1.8. getProxy

getProxy()

Returns a proxy object for more convenient method calls

Parameters:string – Namespace to proxy or empty string for none
Return type:ZendXmlRpcClientServerProxy

2096.1.1.9. setSkipSystemLookup

setSkipSystemLookup()

Set skip system lookup flag

Parameters:bool
Return type:ZendXmlRpcClient

2096.1.1.10. skipSystemLookup

skipSystemLookup()

Skip system lookup when determining if parameter should be array or struct?

Return type:bool

2096.1.1.11. doRequest

doRequest()

Perform an XML-RPC request and return a response.

Parameters:
  • ZendXmlRpcRequest
  • null|ZendXmlRpcResponse
Return type:

void

Throws :

ZendXmlRpcClientExceptionHttpException

2096.1.1.12. call

call()

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

Parameters:
  • string – Name of the method we want to call
  • array – Array of parameters for the method
Return type:

mixed

Throws :

ZendXmlRpcClientExceptionFaultException

2096.1.1.13. _createRequest

_createRequest()

Create request object

Parameters:
  • string
  • array
Return type:

ZendXmlRpcRequest