Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QueryPrinter.php |
— | — | @@ -25,6 +25,12 @@ |
26 | 26 | */ |
27 | 27 | abstract class SMWResultPrinter { |
28 | 28 | |
| 29 | + /** |
| 30 | + * List of parameters, set by readParameters (which is deprecated) |
| 31 | + * and can be used to store parameters in readParameters. |
| 32 | + * |
| 33 | + * @var array |
| 34 | + */ |
29 | 35 | protected $m_params; |
30 | 36 | |
31 | 37 | /** |
— | — | @@ -96,7 +102,7 @@ |
97 | 103 | * Return serialised results in specified format. |
98 | 104 | * Implemented by subclasses. |
99 | 105 | */ |
100 | | - abstract protected function getResultText( /* SMWQueryResult */ $res, $outputmode ); |
| 106 | + abstract protected function getResultText( SMWQueryResult $res, $outputmode ); |
101 | 107 | |
102 | 108 | /** |
103 | 109 | * Constructor. The parameter $format is a format string |
— | — | @@ -112,7 +118,7 @@ |
113 | 119 | $this->mInline = $inline; |
114 | 120 | $this->mLinkFirst = ( $smwgQDefaultLinking != 'none' ); |
115 | 121 | $this->mLinkOthers = ( $smwgQDefaultLinking == 'all' ); |
116 | | - $this->mLinker = class_exists('DummyLinker') ? new DummyLinker : new Linker; ///TODO: how can we get the default or user skin here (depending on context)? |
| 122 | + $this->mLinker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; ///TODO: how can we get the default or user skin here (depending on context)? |
117 | 123 | $this->useValidator = $useValidator; |
118 | 124 | } |
119 | 125 | |