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

Class: XML_RPC_Dump

Source Location: /XML_RPC-1.5.1/Dump.php

Class Overview


Class which generates a dump of a XML_RPC_Value object


Author(s):

Version:

  • Release: 1.5.1

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Class Variables

$arIndent = array()

[line 54]

The indentation array cache

Type:   array


[ Top ]

$strBaseIndent =  '    '

[line 60]

The spaces used for indenting the XML

Type:   string


[ Top ]



Method Detail

genArray   [line 151]

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

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

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

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

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 Thu, 10 Dec 2015 05:42:30 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.