public function handlePaginate() { if ($this->presenter->isAjax()) { $this->redrawControl('rows'); } else { $this->redirect('this'); } }