Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

XML2Array Class Reference

Static Public Member Functions

static init ($version= '1.0', $encoding= 'UTF-8', $format_output=true)
static & createArray ($input_xml, $ignoreRootNodeName= 'zurmoMessage')

Detailed Description

XML2Array: A class to convert XML to array in PHP It returns the array which can be converted back to XML using the Array2XML script It takes an XML string or a DOMDocument object as an input.

See Array2XML: http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes

Author : Lalit Patel Website: http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array License: Apache License 2.0 http://www.apache.org/licenses/LICENSE-2.0

Usage: $array = XML2Array::createArray($xml);

Definition at line 51 of file XML2Array.php.


Member Function Documentation

static init ( version = '1.0',
encoding = 'UTF-8',
format_output = true 
) [static]

Initialize the root XML node [optional]

Parameters:
$version 
$encoding 
$format_output 

Definition at line 62 of file XML2Array.php.

static& createArray ( input_xml,
ignoreRootNodeName = 'zurmoMessage' 
) [static]

Convert an XML to Array

Parameters:
string $node_name - name of the root node to be converted
array $arr - aray to be converterd
Returns:
DOMDocument

Definition at line 75 of file XML2Array.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:11:06 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8