diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
commit | b9b85843572bf283f48285001e276ba7e61b63f6 (patch) | |
tree | 4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/XmlTypeCheck.php | |
parent | d9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff) |
updated to MediaWiki 1.14.0
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' ); |