protected function getNumberLinks($perPage, $startRowNumber, $startIndexNumber = 1)
    {
        $numberLinks = NULL;

        for( $i = $startIndexNumber; $i <= $perPage; $i++ )
        {
            $page = ($i - 1) * $this->limit;

            if( $i - 1 == floor((int) $startRowNumber / $this->limit) )
            {
                $currentLink = $this->getStyleClassAttributes('current');
            }
            else
            {
                $currentLink = $this->getStyleClassLinkAttributes('links');;
            }

            $numberLinks .= $this->getLink($page, $currentLink, $i);
        }

        return $numberLinks;
    }
protected function getNumberLinks($perPage, $startRowNumber, $startIndexNumber = 1)
    {
        $numberLinks = NULL;

        for( $i = $startIndexNumber; $i <= $perPage; $i++ )
        {
            $page = ($i - 1) * $this->limit;

            if( $i - 1 == floor((int) $startRowNumber / $this->limit) )
            {
                $currentLink = $this->getStyleClassAttributes('current');
            }
            else
            {
                $currentLink = $this->getStyleClassLinkAttributes('links');;
            }

            $numberLinks .= $this->getLink($page, $currentLink, $i);
        }

        return $numberLinks;
    }
protected function getNumberLinks ( $ perPage , $ startRowNumber , $ startIndexNumber = 1 ) { $ numberLinks = NULL ; for ( $ i = $ startIndexNumber ; $ i <= $ perPage ; $ i ++ ) { $ page = ( $ i - 1 ) * $ this -> limit ; if ( $ i - 1 == floor ( ( int ) $ startRowNumber / $ this -> limit ) ) { $ currentLink = $ this -> getStyleClassAttributes ( 'current' ) ; } else { $ currentLink = $ this -> getStyleClassLinkAttributes ( 'links' ) ; ; } $ numberLinks .= $ this -> getLink ( $ page , $ currentLink , $ i ) ; } return $ numberLinks ; }
Protected get number links
Protected get number links