Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
XMLHelper Class Reference

Public Member Functions

xmlToArray (&$xmlNode, $keepEmpty=false)
 

Detailed Description

A class that groups useful XML helper functions.

Definition at line 16 of file XMLHelper.inc.php.

Member Function Documentation

& XMLHelper::xmlToArray ( $xmlNode,
  $keepEmpty = false 
)

Take an XML node and generate a nested array.

Parameters
$xmlNodeDOMDocument
$keepEmptyboolean whether to keep empty elements, default: false
Returns
mixed

Definition at line 23 of file XMLHelper.inc.php.


The documentation for this class was generated from the following file: