< Ocs-server‎ | Gfx4
Revision as of 10:26, 6 May 2016 by Snizzo (talk | contribs)

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.