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

Class: XML_RPC_Dump

Source Location: /XML_RPC-1.5.5/XML/RPC/Dump.php

Class Overview


Class which generates a dump of a XML_RPC_Value object


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 50]
Class which generates a dump of a XML_RPC_Value object


[ Top ]


Class Variables

$arIndent = array()

[line 56]

The indentation array cache

Type:   array


[ Top ]

$strBaseIndent =  '    '

[line 62]

The spaces used for indenting the XML

Type:   string


[ Top ]



Method Detail

genArray   [line 153]

string genArray( object $value, int $nLevel)

Returns the dump of an array
  • Return: Dumped version of the scalar value

Parameters:

object   $value     the array XML_RPC_Value object to dump
int   $nLevel     the level of indentation

[ Top ]

generateDump   [line 72]

string generateDump( object $value, [int $nLevel = 0])

Returns the dump in XML format without printing it out
  • Return: the dump

Parameters:

object   $value     the XML_RPC_Value object to dump
int   $nLevel     the level of indentation

[ Top ]

genScalar   [line 115]

string genScalar( object $value, int $nLevel)

Returns the scalar value dump
  • Return: Dumped version of the scalar value

Parameters:

object   $value     the scalar XML_RPC_Value object to dump
int   $nLevel     the level of indentation

[ Top ]

genStruct   [line 134]

string genStruct( object $value, int $nLevel)

Returns the dump of a struct
  • Return: Dumped version of the scalar value

Parameters:

object   $value     the struct XML_RPC_Value object to dump
int   $nLevel     the level of indentation

[ Top ]

getIndent   [line 172]

string getIndent( int $nLevel)

Returns the indent for a specific level and caches it for faster use
  • Return: the indented string

Parameters:

int   $nLevel     the level

[ Top ]


Documentation generated on Sat, 27 Aug 2011 03:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.