ArrayToXML
Based on: http://stackoverflow.com/questions/99350/passing-php-associative-arrays-to-and-from-xml
Description Description
Source Source
File: includes/libraries/class-ArrayToXML.php
Methods Methods
- __construct — Construct ArrayToXML object with selected version and encoding
- buildXML — Build an XML Data Set
- isAssoc — Check if array is associative with string based keys FROM: http://stackoverflow.com/questions/173400/php-arrays-a-good-way-to-check-if-an-array-is-associative-or-sequential/4254008#4254008
- writeAttr — Write keys in $data prefixed with @ as XML attributes, if $data is an array.
- writeEl — Write XML as per Associative Array