protected function createBasicPaginationBar($startRowNumber)
    {
        # Add prev link.
        if( $this->isPrevLink($startRowNumber) )
        {
            $this->addPrevLink($startRowNumber, $prevLink);
        }
        # Remove prev link.
        else
        {
            $this->removeLinkFromPagingationBar($prevLink);
        }

        # Add next link.
        if( $this->isNextLink($this->getPerPage(), $startRowNumber) )
        {
            $this->addNextLink($startRowNumber, $nextLink);
        }
        # Remove next link.
        else
        {
            $this->removeLinkFromPagingationBar($nextLink);
        }

        # Generate pagination bar.
        return $this->generatePaginationBar($prevLink, $this->getNumberLinks($this->getPerPage(), $startRowNumber), $nextLink);
    }
protected function createBasicPaginationBar($startRowNumber)
    {
        # Add prev link.
        if( $this->isPrevLink($startRowNumber) )
        {
            $this->addPrevLink($startRowNumber, $prevLink);
        }
        # Remove prev link.
        else
        {
            $this->removeLinkFromPagingationBar($prevLink);
        }

        # Add next link.
        if( $this->isNextLink($this->getPerPage(), $startRowNumber) )
        {
            $this->addNextLink($startRowNumber, $nextLink);
        }
        # Remove next link.
        else
        {
            $this->removeLinkFromPagingationBar($nextLink);
        }

        # Generate pagination bar.
        return $this->generatePaginationBar($prevLink, $this->getNumberLinks($this->getPerPage(), $startRowNumber), $nextLink);
    }
protected function createBasicPaginationBar ( $ startRowNumber ) { # Add prev link. if ( $ this -> isPrevLink ( $ startRowNumber ) ) { $ this -> addPrevLink ( $ startRowNumber , $ prevLink ) ; } # Remove prev link. else { $ this -> removeLinkFromPagingationBar ( $ prevLink ) ; } # Add next link. if ( $ this -> isNextLink ( $ this -> getPerPage ( ) , $ startRowNumber ) ) { $ this -> addNextLink ( $ startRowNumber , $ nextLink ) ; } # Remove next link. else { $ this -> removeLinkFromPagingationBar ( $ nextLink ) ; } # Generate pagination bar. return $ this -> generatePaginationBar ( $ prevLink , $ this -> getNumberLinks ( $ this -> getPerPage ( ) , $ startRowNumber ) , $ nextLink ) ; }
Protected create basic pagination bar
Protected create basic pagination bar