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 $_serverAddress
Full address of the XML-RPC service
Details- Type
- string
- Example
- http://time.xmlrpc.com/RPC2



bool $_skipSystemLookup = false
Flag for skipping system lookup
Default valuefalse
Details- Type
- bool
Methods



__construct(string $server, \Zend_Http_Client $httpClient = null) : void
Create a new XML-RPC client to a remote server
ParametersName | 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()) : mixed
Send an XML-RPC request to the service (for a specific method)
ParametersName | 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_ServerProxy
Returns a proxy object for more convenient method calls
ParametersName | Type | Description |
---|
$namespace | string | Namespace to proxy or empty string for none |
---|
Returns 


setSkipSystemLookup(bool $flag = true) : \Zend_XmlRpc_Client
Set skip system lookup flag
ParametersName | Type | Description |
---|
$flag | bool | |
---|
Returns