Class ServerIntrospection

Summary

Fully Qualified Name: Zend\XmlRpc\Client\ServerIntrospection

Description

Wraps the XML-RPC system.* introspection methods

Methods

Name Description Defined By
__construct() ServerIntrospection
getMethodSignature() Call system.methodSignature() for the given method ServerIntrospection
getSignatureForEachMethod() Returns the signature for each method on the server, autodetecting whether system.multicall() is supported and using it if so. ServerIntrospection
getSignatureForEachMethodByLooping() Get the method signatures for every method by successively calling system.methodSignature ServerIntrospection
getSignatureForEachMethodByMulticall() Attempt to get the method signatures in one request via system.multicall(). ServerIntrospection
listMethods() Call system.listMethods() ServerIntrospection

Method Details

__construct()

Parameter Name Type Description
$client \Zend\XmlRpc\Client

Returns:

getMethodSignature()

Call system.methodSignature() for the given method

Parameter Name Type Description
$method array

Returns: array array(array(return, param, param, param...))

getSignatureForEachMethod()

Returns the signature for each method on the server, autodetecting whether system.multicall() is supported and using it if so.

Returns: array

getSignatureForEachMethodByLooping()

Get the method signatures for every method by successively calling system.methodSignature

Parameter Name Type Description
$methods array

Returns: array

getSignatureForEachMethodByMulticall()

Attempt to get the method signatures in one request via system.multicall().

This is a boxcar feature of XML-RPC and is found on fewer servers. However, can significantly improve performance if present.

Parameter Name Type Description
$methods array

Returns: array array(array(return, param, param, param...))

listMethods()

Call system.listMethods()

Returns: array array(method, method, method...)

Top