TwistPHP Documentation

covertArray

File path: dist/twist/Core/Utilities/XML.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

covertArrayTurn an array of data into XML

Parameters

Name Type Description
$arrItemsarrayn/a
[$strTab = ""]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$arrItems = array(=> 'foo'=> 'bar');
$strTab "";

//Call the function covertArray with the example vars
Twist::XML() -> covertArray($arrItems$strTab);