Ocs-server/Gfx4/XML utilities: Difference between revisions

From KDE Community Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
Gfx contains some XML utilities.
Gfx contains some XML utilities.


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

Latest revision as of 15:38, 6 June 2016

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