public function getPaginationString()
    {
        $this->calculate();

        if ($this->getPerPage() == 0) {
            return '';
        }

        // Add pagination menu.
        $objPagination = new \Pagination($this->calculatedTotal, $this->getPerPage(), $this->getMaxPaginationLinks());

        return $objPagination->generate("\n  ");
    }
public function getPaginationString()
    {
        $this->calculate();

        if ($this->getPerPage() == 0) {
            return '';
        }

        // Add pagination menu.
        $objPagination = new \Pagination($this->calculatedTotal, $this->getPerPage(), $this->getMaxPaginationLinks());

        return $objPagination->generate("\n  ");
    }
public function getPaginationString ( ) { $ this -> calculate ( ) ; if ( $ this -> getPerPage ( ) == 0 ) { return '' ; } // Add pagination menu. $ objPagination = new \ Pagination ( $ this -> calculatedTotal , $ this -> getPerPage ( ) , $ this -> getMaxPaginationLinks ( ) ) ; return $ objPagination -> generate ( "\n  " ) ; }
Render the pagination string.

@return string
Render the pagination string .