diff options
Diffstat (limited to 'includes/XmlTypeCheck.php')
-rw-r--r-- | includes/XmlTypeCheck.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/XmlTypeCheck.php b/includes/XmlTypeCheck.php index 8ee211e1..a004ef4d 100644 --- a/includes/XmlTypeCheck.php +++ b/includes/XmlTypeCheck.php @@ -31,6 +31,13 @@ class XmlTypeCheck { $this->filterCallback = $filterCallback; $this->run( $file ); } + + /** + * Get the root element. Simple accessor to $rootElement + */ + public function getRootElement() { + return $this->rootElement; + } private function run( $fname ) { $parser = xml_parser_create_ns( 'UTF-8' ); |