/** * Get the PageSet object to work on. * If this module is generator, the pageSet object is different from other module's * @return ApiPageSet */ protected function getPageSet() { if ($this->mGeneratorPageSet !== null) { return $this->mGeneratorPageSet; } return parent::getPageSet(); }