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

Class: XML_RPC2_Backend_Php_Client

Source Location: /XML_RPC2-1.1.2/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::__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 ]

__call   [line 100]

mixed __call( string $methodName, array $parameters)

__call Catchall. This method catches remote method calls and provides for remote forwarding.

If the parameters are native types, this method will use XML_RPC_Value::createFromNative to convert it into an XML-RPC type. Whenever a parameter is already an instance of XML_RPC_Value it will be used as provided. It follows that, in situations when XML_RPC_Value::createFromNative proves inacurate -- as when encoding DateTime values -- you should present an instance of XML_RPC_Value in lieu of the native parameter.

  • Return: The call result, already decoded into native types
  • Access: public

Overrides XML_RPC2_Client::__call() (__call Catchall. This method catches remote method calls and provides for remote forwarding.)

Parameters:

string   $methodName   —  Method name
array   $parameters   —  Parameters

[ Top ]


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