CrossPHP
  • Namespace
  • Class
  • Download

Namespaces

  • Cross
    • Auth
    • Cache
      • Driver
      • Request
    • Core
    • DB
      • Connecter
      • Drivers
      • SQLAssembler
    • Exception
    • Http
    • I
    • Lib
      • Document
    • Module
    • MVC
    • Runtime
  • None

Classes

  • Array2XML
  • StringToPHPStream

Class Array2XML

Namespace: Cross\Lib
Located at Lib/Array2XML.php

Methods summary

public static
# init( $version = '1.0', $encoding = 'UTF-8', $format_output = true )

Initialize the root XML node [optional]

Initialize the root XML node [optional]

Parameters

$version
$encoding
$format_output
public static DomDocument &
# createXML( string $node_name, array $arr = array() )

Convert an Array to XML

Convert an Array to XML

Parameters

$node_name
  • name of the root node to be converted
$arr
  • array to be converterd

Returns

DomDocument

Throws

Exception
CrossPHP API documentation generated by ApiGen