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

Class: XML_RPC_Dump

Source Location: /modules/pearxmlrpc/Dump.php

Class Overview


Class which generates a dump of a XML_RPC_Value object


Author(s):

Version:

  • Release: 1.5.1

Variables

Methods



Class Details

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



Tags:

author:  Christian Weiske <cweiske@php.net>
version:  Release: 1.5.1
link:  http://pear.php.net/package/XML_RPC


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



Class Methods


method genArray [line 151]

string genArray( object $value, int $nLevel)

Returns the dump of an array



Tags:

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 ]

method generateDump [line 70]

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

Returns the dump in XML format without printing it out



Tags:

return:  the dump


Parameters:

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

[ Top ]

method genScalar [line 113]

string genScalar( object $value, int $nLevel)

Returns the scalar value dump



Tags:

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 ]

method genStruct [line 132]

string genStruct( object $value, int $nLevel)

Returns the dump of a struct



Tags:

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 ]

method getIndent [line 170]

string getIndent( int $nLevel)

Returns the indent for a specific level and caches it for faster use



Tags:

return:  the indented string


Parameters:

int   $nLevel   the level

[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:57 +0900 by phpDocumentor 1.4.2