|
@@ 120-123 (lines=4) @@
|
| 117 |
|
|
| 118 |
|
$queryResult = new CompoundQueryResult( $printRequests, new Query(), $results, smwfGetStore() ); |
| 119 |
|
|
| 120 |
|
if ( version_compare( SMW_VERSION, '1.6.1', '>' ) ) { |
| 121 |
|
self::addThisPrintout( $printRequests, $otherParams ); |
| 122 |
|
$otherParams = self::getProcessedParams( $otherParams, $printRequests ); |
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
return array( $queryResult, $otherParams ); |
| 126 |
|
} |
|
@@ 233-236 (lines=4) @@
|
| 230 |
|
*/ |
| 231 |
|
protected static function getQueryResultFromQueryString( $querystring, array $params, $extraPrintouts, $context = QueryProcessor::INLINE_QUERY ) { |
| 232 |
|
|
| 233 |
|
if ( version_compare( SMW_VERSION, '1.6.1', '>' ) ) { |
| 234 |
|
QueryProcessor::addThisPrintout( $extraPrintouts, $params ); |
| 235 |
|
$params = self::getProcessedParams( $params, $extraPrintouts, false ); |
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
$query = self::createQuery( $querystring, $params, $context, null, $extraPrintouts ); |
| 239 |
|
$queryResult = smwfGetStore()->getQueryResult( $query ); |