Example #1
0
 /**
  * Set the continuation parameter for the generator module
  *
  * @since 1.24
  * @param ApiBase $module
  * @param string $paramName
  * @param string|array $paramValue
  */
 public function setGeneratorContinueParam(ApiBase $module, $paramName, $paramValue)
 {
     $name = $module->getModuleName();
     $paramName = $module->encodeParamName($paramName);
     if (is_array($paramValue)) {
         $paramValue = join('|', $paramValue);
     }
     $this->generatorContinuationData[$name][$paramName] = $paramValue;
 }