File path: dist/twist/Core/Utilities/XML.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
arrayToXML
—
Name | Description |
---|---|
$arrData | n/a |
[$strRootNode = 'node'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrData = array(0 => 'foo', 1 => 'bar');
$strRootNode = 'node';
//Call the function arrayToXML with the example vars
Twist::XML() -> arrayToXML($arrData, $strRootNode);