XML_RPC2
[ class tree: XML_RPC2 ] [ index: XML_RPC2 ] [ all elements ]

Class: XML_RPC2_Backend_Php_Client

Source Location: /XML_RPC2-1.0.5/XML/RPC2/Backend/Php/Client.php

Class Overview

XML_RPC2_Client
   |
   --XML_RPC2_Backend_Php_Client

XML_RPC client backend class. This is the default, all-php XML_RPC client backend.


Author(s):

Copyright:

  • 2004-2006 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods

Class: XML_RPC2_Client

XML_RPC2_Client::__construct()
Construct a new XML_RPC2_Client.
XML_RPC2_Client::create()
Factory method to select, create and return a XML_RPC2_Client backend
XML_RPC2_Client::displayDebugInformations2___()
Display debug informations (part 2)
XML_RPC2_Client::displayDebugInformations___()
Display debug informations
XML_RPC2_Client::remoteCall___()
remoteCall executes the XML-RPC call, and returns the result
XML_RPC2_Client::testMethodName___()
Return true is the given method name is ok with XML/RPC spec.
XML_RPC2_Client::__call()
__call Catchall. This method catches remote method calls and provides for remote forwarding.

Class Details

[line 64]
XML_RPC client backend class. This is the default, all-php XML_RPC client backend.

This backend does not require the xmlrpc extension to be compiled in. It implements XML_RPC based on the always present DOM and SimpleXML PHP5 extensions.



[ Top ]


Method Detail

__construct (Constructor)   [line 78]

XML_RPC2_Backend_Php_Client __construct( string $uri, [array $options = array()])

Construct a new XML_RPC2_Client PHP Backend.

To create a new XML_RPC2_Client, a URI must be provided (e.g. http://xmlrpc.example.com/1.0/). Optionally, some options may be set

  • Access: public

Overrides XML_RPC2_Client::__construct() (Construct a new XML_RPC2_Client.)

Parameters:

string   $uri   —  URI for the XML-RPC server
array   $options   —  (optional) Associative array of options

[ Top ]

remoteCall___   [line 95]

void remoteCall___( string $methodName, array $parameters)

remoteCall executes the XML-RPC call, and returns the result

NB : The '___' at the end of the method name is to avoid collisions with XMLRPC __call()

  • Access: public

Overrides XML_RPC2_Client::remoteCall___() (remoteCall executes the XML-RPC call, and returns the result)

Parameters:

string   $methodName   —  Method name
array   $parameters   —  Parameters

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:25:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.