r92361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92360‎ | r92361 | r92362 >
Date:15:34, 16 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix for changes in smw
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php
@@ -72,6 +72,17 @@
7373 }
7474
7575 /**
 76+ * Explcitly define this method, so method_exists returns true in SMW.
 77+ *
 78+ * @see SMWResultPrinter::getParameters
 79+ *
 80+ * @since 1.0
 81+ */
 82+ public function getValidatorParameters() {
 83+ return $this->queryPrinter->getValidatorParameters();
 84+ }
 85+
 86+ /**
7687 * SMW thinks this class is a SMWResultPrinter, and calls methods that should
7788 * be forewarded to $this->queryPrinter on it.
7889 *