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

Class: XML_RPC_Message

Source Location: /XML_RPC-1.2.0RC6/RPC.php

Class Overview

XML_RPC_Base
   |
   --XML_RPC_Message



Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1999-2001 Edd Dumbill

Variables

Methods


Inherited Variables

Inherited Methods

Class: XML_RPC_Base

XML_RPC_Base::isError()
Tell whether something is a PEAR_Error object
XML_RPC_Base::raiseError()
PEAR Error handling

Class Details

[line 941]


[ Top ]


Class Variables

$debug =  0

[line 964]

The current debug mode (1 = on, 0 = off)

Type:   integer


[ Top ]

$methodname =  ''

[line 953]

The method presently being evaluated

Type:   string


[ Top ]

$params = array()

[line 958]


Type:   array


[ Top ]

$payload =  ''

[line 947]

The XML message being generated

Type:   string


[ Top ]



Method Detail

XML_RPC_Message (Constructor)   [line 969]

void XML_RPC_Message( mixed $meth, [mixed $pars = 0])


[ Top ]

addParam   [line 1035]

void addParam( mixed $par)


[ Top ]

createPayload   [line 998]

void createPayload( )


[ Top ]

getEncoding   [line 1070]

string getEncoding( string $data)

Determine the XML's encoding via the encoding attribute in the XML declaration

If the encoding parameter is not set or is not ISO-8859-1, UTF-8 or US-ASCII, $XML_RPC_defencoding will be returned.


Parameters:

string   $data     the XML that will be parsed

[ Top ]

getNumParams   [line 1051]

int getNumParams( )

  • Return: the number of parameters

[ Top ]

getParam   [line 1043]

void getParam( mixed $i)


[ Top ]

method   [line 1015]

string method( [mixed $meth = ''])

  • Return: the name of the method

[ Top ]

parseResponse   [line 1108]

object a parseResponse( [mixed $data = ''])

  • Return: new XML_RPC_Response object

[ Top ]

parseResponseFile   [line 1096]

object a parseResponseFile( mixed $fp)

  • Return: new XML_RPC_Response object

[ Top ]

serialize   [line 1026]

string serialize( )

  • Return: the payload

[ Top ]

xml_footer   [line 990]

string xml_footer( )

  • Return: the closing </methodCall> tag

[ Top ]

xml_header   [line 982]

string xml_header( )

  • Return: the XML declaration and <methodCall> element

[ Top ]


Documentation generated on Mon, 11 Apr 2005 15:16:36 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.