[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/XmlRpc/ -> Client.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 386 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_XmlRpc_Client:: (13 methods):
  __construct()
  setHttpClient()
  getHttpClient()
  setIntrospector()
  getIntrospector()
  getLastRequest()
  getLastResponse()
  getProxy()
  setSkipSystemLookup()
  skipSystemLookup()
  doRequest()
  call()
  _createRequest()


Class: Zend_XmlRpc_Client  - X-Ref

An XML-RPC client implementation

__construct($server, Zend_Http_Client $httpClient = null)   X-Ref
Create a new XML-RPC client to a remote server

param: string $server      Full address of the XML-RPC service
param: Zend_Http_Client $httpClient HTTP Client to use for requests
return: void

setHttpClient(Zend_Http_Client $httpClient)   X-Ref
Sets the HTTP client object to use for connecting the XML-RPC server.

param: Zend_Http_Client $httpClient
return: Zend_Http_Client

getHttpClient()   X-Ref
Gets the HTTP client object.

return: Zend_Http_Client

setIntrospector(Zend_XmlRpc_Client_ServerIntrospection $introspector)   X-Ref
Sets the object used to introspect remote servers

param: Zend_XmlRpc_Client_ServerIntrospection
return: Zend_XmlRpc_Client_ServerIntrospection

getIntrospector()   X-Ref
Gets the introspection object.

return: Zend_XmlRpc_Client_ServerIntrospection

getLastRequest()   X-Ref
The request of the last method call

return: Zend_XmlRpc_Request

getLastResponse()   X-Ref
The response received from the last method call

return: Zend_XmlRpc_Response

getProxy($namespace = '')   X-Ref
Returns a proxy object for more convenient method calls

param: $namespace  Namespace to proxy or empty string for none
return: Zend_XmlRpc_Client_ServerProxy

setSkipSystemLookup($flag = true)   X-Ref
Set skip system lookup flag

param: bool $flag
return: Zend_XmlRpc_Client

skipSystemLookup()   X-Ref
Skip system lookup when determining if parameter should be array or struct?

return: bool

doRequest($request, $response = null)   X-Ref
Perform an XML-RPC request and return a response.

param: Zend_XmlRpc_Request $request
param: null|Zend_XmlRpc_Response $response
return: void

call($method, $params=array()   X-Ref
Send an XML-RPC request to the service (for a specific method)

param: string $method Name of the method we want to call
param: array $params Array of parameters for the method
return: mixed

_createRequest($method, $params)   X-Ref
Create request object

return: Zend_XmlRpc_Request



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1