PHP Class Fxmlrpc\Client

Inheritance: implements fxmlrpc\ClientInterface
Datei anzeigen Open project: lstrojny/fxmlrpc Class Usage Examples

Public Methods

Method Description
__construct ( string $uri = null, fXmlRpc\Transport\TransportInterface $transport = null, fXmlRpc\Parser\ParserInterface $parser = null, fXmlRpc\Serializer\SerializerInterface $serializer = null ) Create new client instance
appendParams ( array $params ) Append default parameters that should always be prepended
call ( $methodName, array $params = [] )
getAppendParams ( ) : array Get default parameters that are always appended
getPrependParams ( ) : array Get default parameters that are always prepended
getUri ( ) : string Return endpoint URI
multicall ( )
prependParams ( array $params ) Prepend default parameters that should always be prepended
setUri ( string $uri ) Set the endpoint URI

Method Details

__construct() public method

If no specific transport, parser or serializer is passed, default implementations are used.
public __construct ( string $uri = null, fXmlRpc\Transport\TransportInterface $transport = null, fXmlRpc\Parser\ParserInterface $parser = null, fXmlRpc\Serializer\SerializerInterface $serializer = null )
$uri string
$transport fXmlRpc\Transport\TransportInterface
$parser fXmlRpc\Parser\ParserInterface
$serializer fXmlRpc\Serializer\SerializerInterface

appendParams() public method

Append default parameters that should always be prepended
public appendParams ( array $params )
$params array

call() public method

public call ( $methodName, array $params = [] )
$params array

getAppendParams() public method

Get default parameters that are always appended
public getAppendParams ( ) : array
return array

getPrependParams() public method

Get default parameters that are always prepended
public getPrependParams ( ) : array
return array

getUri() public method

Return endpoint URI
public getUri ( ) : string
return string

multicall() public method

public multicall ( )

prependParams() public method

Prepend default parameters that should always be prepended
public prependParams ( array $params )
$params array

setUri() public method

Set the endpoint URI
public setUri ( string $uri )
$uri string