Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -343,7 +343,7 @@ |
344 | 344 | $params[] = $param; |
345 | 345 | } |
346 | 346 | |
347 | | - return $params; |
| 347 | + return $params; |
348 | 348 | } |
349 | 349 | |
350 | 350 | /** |
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php |
— | — | @@ -61,6 +61,17 @@ |
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
| 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 | + /** |
65 | 76 | * SMW thinks this class is a SMWResultPrinter, and calls methods that should |
66 | 77 | * be forewarded to $this->queryPrinter on it. |
67 | 78 | * |