Jump to content

Ocs-server/Gfx4/XML utilities

From KDE Community Wiki
Revision as of 15:38, 6 June 2016 by Snizzo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gfx contains some XML utilities.

  • static bool EXMLParser::is_assoc($array) -> checks if $array is associative or not
  • static array EXMLParser::to_array($contents, $force_multiple=array()) -> converts an xml tree to an associative array