| @@ 1464-1471 (lines=8) @@ | ||
| 1461 | return; |
|
| 1462 | } |
|
| 1463 | ||
| 1464 | if ( $style === 'raw' ) { |
|
| 1465 | $data = $this->mainForContinuation->getContinuationManager()->getRawContinuation(); |
|
| 1466 | if ( $data ) { |
|
| 1467 | $this->addValue( null, 'query-continue', $data, self::ADD_ON_TOP | self::NO_SIZE_CHECK ); |
|
| 1468 | } |
|
| 1469 | } else { |
|
| 1470 | $this->mainForContinuation->getContinuationManager()->setContinuationIntoResult( $this ); |
|
| 1471 | } |
|
| 1472 | } |
|
| 1473 | ||
| 1474 | /** |
|
| @@ 260-268 (lines=9) @@ | ||
| 257 | ||
| 258 | // Write the continuation data into the result |
|
| 259 | $this->setContinuationManager( null ); |
|
| 260 | if ( $this->mParams['rawcontinue'] ) { |
|
| 261 | $data = $continuationManager->getRawContinuation(); |
|
| 262 | if ( $data ) { |
|
| 263 | $this->getResult()->addValue( null, 'query-continue', $data, |
|
| 264 | ApiResult::ADD_ON_TOP | ApiResult::NO_SIZE_CHECK ); |
|
| 265 | } |
|
| 266 | } else { |
|
| 267 | $continuationManager->setContinuationIntoResult( $this->getResult() ); |
|
| 268 | } |
|
| 269 | } |
|
| 270 | ||
| 271 | /** |
|