XML-RPC system.* methods

package Default

 Methods

Constructor

__construct(\Zend\XmlRpc\Server $server) 

Parameters

$server

\Zend\XmlRpc\Server

List all available XMLRPC methods

listMethods() : array

Returns an array of methods.

Returns

array

Display help message for an XMLRPC method

methodHelp(string $method) : string

Parameters

$method

string

Exceptions

\Zend\XmlRpc\Server\Exception\InvalidArgumentException

Returns

string

Return a method signature

methodSignature(string $method) : array

Parameters

$method

string

Exceptions

\Zend\XmlRpc\Server\Exception\InvalidArgumentException

Returns

array

Multicall - boxcar feature of XML-RPC for calling multiple methods in a single request.

multicall(array $methods) : array

Expects an array of structs representing method calls, each element having the keys:

  • methodName
  • params

Returns an array of responses, one for each method called, with the value returned by the method. If an error occurs for a given method, returns a struct with a fault response.

see

Parameters

$methods

array

Returns

array

 Properties

 

$server

$server : \Zend\XmlRpc\Server

Default