From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- includes/XmlTypeCheck.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'includes/XmlTypeCheck.php') 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' ); -- cgit v1.2.2