/** * Reset all pagers for this list. * */ protected function resetPagers() { // Reset pagers if ($this->pagerCollection === null) { // Only get pagerCollection if it's not set already. Important for testing. $this->pagerCollection = $this->dataBackend->getPagerCollection(); } $this->pagerCollection->reset(); }
/** * Reset all pagers for this list. * */ protected function resetPagers() { // TODO put this into abstract controller // Reset pagers if ($this->pagerCollection === NULL) { // Only get pagerCollection if it's not set already. Important for testing. $this->pagerCollection = $this->dataBackend->getPagerCollection(); } $this->pagerCollection->reset(); $this->dataBackend->resetListDataCache(); }