Class Xml

Description

The Xml utility class provides methods to generate and transform Xml.

  • author: Arnold Cano
  • version: $Id: Xml.php,v 1.1.1.1.24.1 2011/10/04 11:19:40 afelixf Exp $

Located in /phrame/ext/Xml.php (line 8)


	
			
Method Summary
boolean marshal ([mixed $var = NULL], [integer $level = 0], [string $name = NULL], [boolean $child = false])
string transform (string $xml, array $xsls, [array $params = array()])
string xmlentities (string $xml, [boolean $utf8 = false])
Methods
marshal (line 20)

Generates Xml data based on variable introspection.

  • access: public
boolean marshal ([mixed $var = NULL], [integer $level = 0], [string $name = NULL], [boolean $child = false])
  • mixed $var
  • integer $level
  • string $name
  • boolean $child
transform (line 149)

Transform a document from the supplied Xml data and Xsl stylesheet array (pipelining) optionally processing any runtime parameters to the transformer.

  • access: public
string transform (string $xml, array $xsls, [array $params = array()])
  • string $xml
  • array $xsls
  • array $params
xmlentities (line 122)

Converts all applicable characters to xml entities. This is similar to the htmlentities() php function.

  • access: public
string xmlentities (string $xml, [boolean $utf8 = false])
  • string $xml
  • boolean $utf8

Documentation generated on Wed, 05 Oct 2011 10:36:48 +0200 by phpDocumentor 1.4.1