(Created page with "Gfx contains some XML utilities. * '''static bool XMLParser::is_assoc($array)''' -> checks if $array is associative or not * '''static array XMLParser::to_array($contents, $f...")
 
Line 3: Line 3:
 
* '''static bool XMLParser::is_assoc($array)''' -> checks if $array is associative or not
 
* '''static bool XMLParser::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 XMLParser::to_array($contents, $force_multiple=array())''' -> converts an xml tree to an associative array
 +
 +
* '''static void XMLParser::hide_output()''' -> collects every output that will be normally sent to standard output
 +
* '''static string XMLParser::show_output()''' -> return a string containing all the previosly collected output

Revision as of 10:26, 6 May 2016

Gfx contains some XML utilities.

  • static bool XMLParser::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 void XMLParser::hide_output() -> collects every output that will be normally sent to standard output
  • static string XMLParser::show_output() -> return a string containing all the previosly collected output

Content is available under Creative Commons License SA 4.0 unless otherwise noted.