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

Class: XML_RPC_Message

Source Location: /XML_RPC-1.2.0RC5/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 914]


[ Top ]


Class Variables

$debug =  0

[line 937]

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

Type:   integer


[ Top ]

$methodname =  ''

[line 926]

The method presently being evaluated

Type:   string


[ Top ]

$params = array()

[line 931]


Type:   array


[ Top ]

$payload =  ''

[line 920]

The XML message being generated

Type:   string


[ Top ]



Method Detail

XML_RPC_Message (Constructor)   [line 942]

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


[ Top ]

addParam   [line 1008]

void addParam( mixed $par)


[ Top ]

createPayload   [line 971]

void createPayload( )


[ Top ]

getEncoding   [line 1043]

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 1024]

int getNumParams( )

  • Return: the number of parameters

[ Top ]

getParam   [line 1016]

void getParam( mixed $i)


[ Top ]

method   [line 988]

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

  • Return: the name of the method

[ Top ]

parseResponse   [line 1081]

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

  • Return: new XML_RPC_Response object

[ Top ]

parseResponseFile   [line 1069]

object a parseResponseFile( mixed $fp)

  • Return: new XML_RPC_Response object

[ Top ]

serialize   [line 999]

string serialize( )

  • Return: the payload

[ Top ]

xml_footer   [line 963]

string xml_footer( )

  • Return: the closing </methodCall> tag

[ Top ]

xml_header   [line 955]

string xml_header( )

  • Return: the XML declaration and <methodCall> element

[ Top ]


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