code/libraries/joomlatools/library/template/helper/paginator.php
protected function _link($page, $title)
    {
        $url   = $this->getObject('request')->getUrl();
        $query = $url->getQuery(true);

        //For compatibility with Joomla use limitstart instead of offset
        $query['limit']      = $page->limit;
        $query['limitstart'] = $page->offset;

        unset($query['offset']);

        $url->setQuery($query);

        if ($page->active && !$page->current) {
            $html = '<a href="'.$url.'">'.$this->getObject('translator')->translate($title).'</a>';
        } else {
            $html = '<a>'.$this->getObject('translator')->translate($title).'</a>';
        }

        return $html;
    }
protected function _link($page, $title)
    {
        $url   = $this->getObject('request')->getUrl();
        $query = $url->getQuery(true);

        //For compatibility with Joomla use limitstart instead of offset
        $query['limit']      = $page->limit;
        $query['limitstart'] = $page->offset;

        unset($query['offset']);

        $url->setQuery($query);

        if ($page->active && !$page->current) {
            $html = '<a href="'.$url.'">'.$this->getObject('translator')->translate($title).'</a>';
        } else {
            $html = '<a>'.$this->getObject('translator')->translate($title).'</a>';
        }

        return $html;
    }
protected function _link ( $ page , $ title ) { $ url = $ this -> getObject ( 'request' ) -> getUrl ( ) ; $ query = $ url -> getQuery ( true ) ; //For compatibility with Joomla use limitstart instead of offset $ query [ 'limit' ] = $ page -> limit ; $ query [ 'limitstart' ] = $ page -> offset ; unset ( $ query [ 'offset' ] ) ; $ url -> setQuery ( $ query ) ; if ( $ page -> active && ! $ page -> current ) { $ html = '<a href="' . $ url . '">' . $ this -> getObject ( 'translator' ) -> translate ( $ title ) . '</a>' ; } else { $ html = '<a>' . $ this -> getObject ( 'translator' ) -> translate ( $ title ) . '</a>' ; } return $ html ; }
Generates a pagination link

@param KObject $page Page object
@param string  $title Page title
@return string
Generates a pagination link