[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/XML/RPC/ -> Dump.php (sommaire)

Function and class to dump XML_RPC_Value objects in a nice way Should be helpful as a normal var_dump(..) displays all internals which doesn't really give you an overview due to too much information.

Author: Christian Weiske <cweiske@php.net>
Version: CVS: $Id: Dump.php,v 1.7 2005/01/24 03:47:55 danielc Exp $
Poids: 187 lignes (5 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 PEAR.php
 XML/RPC.php

Définit 1 class

XML_RPC_Dump:: (5 méthodes):
  generateDump()
  genScalar()
  genStruct()
  genArray()
  getIndent()

Définit 5 fonctions

  XML_RPC_Dump()

Classe: XML_RPC_Dump  - X-Ref

Class which generates a dump of a XML_RPC_Value object

generateDump($value, $nLevel = 0)   X-Ref
Returns the dump in XML format without printing it out

param: object $value   the XML_RPC_Value object to dump
param: int    $nLevel  the level of indentation
return: string  the dump

genScalar($value, $nLevel)   X-Ref
Returns the scalar value dump

param: object $value   the scalar XML_RPC_Value object to dump
param: int    $nLevel  the level of indentation
return: string  Dumped version of the scalar value

genStruct($value, $nLevel)   X-Ref
Returns the dump of a struct

param: object $value   the struct XML_RPC_Value object to dump
param: int    $nLevel  the level of indentation
return: string  Dumped version of the scalar value

genArray($value, $nLevel)   X-Ref
Returns the dump of an array

param: object $value   the array XML_RPC_Value object to dump
param: int    $nLevel  the level of indentation
return: string  Dumped version of the scalar value

getIndent($nLevel)   X-Ref
Returns the indent for a specific level and caches it for faster use

param: int $nLevel  the level
return: string  the indented string

Fonctions
Fonctions qui ne font pas partie d'une Classe:

XML_RPC_Dump($value)   X-Ref
Generates the dump of the XML_RPC_Value and echoes it

param: object $value  the XML_RPC_Value object to dump
return: void



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7