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

Class: XML_RPC2_Backend_Php_Request

Source Location: /XML_RPC2-1.1.2/XML/RPC2/Backend/Php/Request.php

Class Overview


XML_RPC request backend class. This class represents an XML_RPC request, exposing the methods needed to encode/decode a request.


Author(s):

Copyright:

  • 2004-2006 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods


Class Details

[line 58]
XML_RPC request backend class. This class represents an XML_RPC request, exposing the methods needed to encode/decode a request.


[ Top ]


Method Detail

__construct (Constructor)   [line 144]

XML_RPC2_Backend_Php_Request __construct( string $methodName, [string $encoding = 'utf-8'])

Create a new xml-rpc request with the provided methodname

Parameters:

string   $methodName   —  Name of method targeted by this xml-rpc request
string   $encoding   —  encoding of the request

[ Top ]

addParameter   [line 104]

void addParameter( mixed $value)

parameters property appender
  • Access: public

Parameters:

mixed   $value   —  value The new parameter

[ Top ]

createFromDecode   [line 187]

XML_RPC2_Backend_Php_Request createFromDecode( SimpleXMLElement $simpleXML)

Decode a request from XML and construct a request object with the createFromDecoded values
  • Return: The xml-rpc request, represented as an object instance
  • Access: public

Parameters:

SimpleXMLElement   $simpleXML   —  The encoded XML-RPC request.

[ Top ]

encode   [line 159]

string encode( )

Encode the request for transmission.
  • Return: XML-encoded request (a full XML document)
  • Access: public

[ Top ]

getMethodName   [line 130]

string getMethodName( )

method name getter
  • Return: method name
  • Access: public

[ Top ]

getParameters   [line 117]

mixed getParameters( )

parameters property getter
  • Return: The current parameters
  • Access: public

[ Top ]

setParameters   [line 91]

void setParameters( mixed $value)

parameters property setter
  • Access: public

Parameters:

mixed   $value   —  value The new parameters

[ Top ]


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