public function __construct($rowsPerPage = 30, $cursorName = 'page') { parent::__construct($rowsPerPage, $cursorName); $this->cursorName = $cursorName; $this->rowsPerPage = rex_asd_news_config::getConfig('max-per-page'); }