public function getIsLastPage() { if ($this->_allowPaging) { return $this->_currentPageIndex === $this->getPageCount() - 1; } else { return true; } }