/** * Initializes the component */ public function init() { $this->id = 'result-list'; // Configure the pager and template $this->template = '{summary} {items} {pager}'; $this->pager = ResultHelper::getDefaultPagerConfiguration(); // needed to update the URL when page is changed $this->enableHistory = true; $this->beforeParentInit(); parent::init(); }