r85188 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85187‎ | r85188 | r85189 >
Date:12:31, 2 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix for param descriptions
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php (modified) (history)
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php
@@ -343,7 +343,7 @@
344344 $params[] = $param;
345345 }
346346
347 - return $params;
 347+ return $params;
348348 }
349349
350350 /**
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php
@@ -61,6 +61,17 @@
6262 }
6363
6464 /**
 65+ * Explcitly define this method, so method_exists returns true in SMW.
 66+ *
 67+ * @see SMWResultPrinter::getParameters
 68+ *
 69+ * @since 0.8
 70+ */
 71+ public function getParameters() {
 72+ $this->queryPrinter->getParameters();
 73+ }
 74+
 75+ /**
6576 * SMW thinks this class is a SMWResultPrinter, and calls methods that should
6677 * be forewarded to $this->queryPrinter on it.
6778 *

Follow-up revisions

RevisionCommit summaryAuthorDate
r85189follow up to r85188jeroendedauw12:52, 2 April 2011

Status & tagging log