XmlRpc/Client.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_XmlRpc
- Subpackage
- Client
- Version
- $Id: Client.php 24593 2012-01-05 20:35:02Z matthew $
Package: Zend\XmlRpc\ClientAn XML-RPC client implementation
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties



array $_proxyCache = array()Proxy object for more convenient method calls
Default valuearray()Details- Type
- array



string $_serverAddressFull address of the XML-RPC service
Details- Type
- string
- Example
- http://time.xmlrpc.com/RPC2



bool $_skipSystemLookup = falseFlag for skipping system lookup
Default valuefalseDetails- Type
- bool
Methods



__construct(string $server, \Zend_Http_Client $httpClient = null) : voidCreate a new XML-RPC client to a remote server
Parameters| Name | Type | Description |
|---|
| $server | string | Full address of the XML-RPC service
(e.g. http://time.xmlrpc.com/RPC2)
|
|---|
| $httpClient | \Zend_Http_Client | HTTP Client to use for requests |
|---|



call(string $method, array $params = array()) : mixedSend an XML-RPC request to the service (for a specific method)
Parameters| Name | Type | Description |
|---|
| $method | string | Name of the method we want to call |
|---|
| $params | array | Array of parameters for the method |
|---|
ReturnsThrows 


getProxy(string $namespace = '') : \Zend_XmlRpc_Client_ServerProxyReturns a proxy object for more convenient method calls
Parameters| Name | Type | Description |
|---|
| $namespace | string | Namespace to proxy or empty string for none |
|---|
Returns 


setSkipSystemLookup(bool $flag = true) : \Zend_XmlRpc_ClientSet skip system lookup flag
Parameters| Name | Type | Description |
|---|
| $flag | bool | |
|---|
Returns