Function dumpTags
Formats data retrieved in other functions into xml format. Additionally formats data based on the specific format passed. This function is recursively called to handle sub arrays of data.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/News.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/News.php
array |
$data |
The array to output as xml data |
integer |
$i |
The amount of indentation to use. |
null|string |
$tag = null |
|
string |
$xml_format = '' |
The format to use ('atom', 'rss', 'rss2' or empty for plain XML) |
array |
$forceCdataKeys = array() |
A list of keys on which to force cdata wrapping (used by mods, maybe) |
array |
$nsKeys = array() |
Key-value pairs of namespace prefixes to pass to cdata_parse() (used by mods, maybe) |