Ocs-server/Gfx4/XML utilities

From KDE Community Wiki

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