code/libraries/joomlatools/library/template/helper/paginator.php
protected function _pages($pages)
    {
        $html = '';

        //$html .= $pages['first']->active ? '<li>'.$this->_link($pages['first'], '<i class="icon-fast-backward icon-first"></i>').'</li>' : '';

        $html .= $pages['previous']->active ? '<li>'.$this->_link($pages['previous'], '&laquo;').'</li>' : '';

        $previous = null;
        foreach ($pages['pages'] as $page)
        {
            if ($previous && $page->page - $previous->page > 1) {
                $html .= '<li class="k-is-disabled"><span>&hellip;</span></li>';
            }

            $html .= '<li class="'.($page->active && !$page->current ? '' : 'k-is-active').'">';
            $html .= $this->_link($page, $page->page);
            $html .= '</li>';

            $previous = $page;
        }

        $html  .= $pages['next']->active ? '<li>'.$this->_link($pages['next'], '&raquo;').'</li>' : '';

        //$html  .= $pages['last']->active ? '<li>'.$this->_link($pages['last'], '<i class="icon-fast-forward icon-last"></i>').'</li>' : '';

        return $html;
    }
protected function _pages($pages)
    {
        $html = '';

        //$html .= $pages['first']->active ? '<li>'.$this->_link($pages['first'], '<i class="icon-fast-backward icon-first"></i>').'</li>' : '';

        $html .= $pages['previous']->active ? '<li>'.$this->_link($pages['previous'], '&laquo;').'</li>' : '';

        $previous = null;
        foreach ($pages['pages'] as $page)
        {
            if ($previous && $page->page - $previous->page > 1) {
                $html .= '<li class="k-is-disabled"><span>&hellip;</span></li>';
            }

            $html .= '<li class="'.($page->active && !$page->current ? '' : 'k-is-active').'">';
            $html .= $this->_link($page, $page->page);
            $html .= '</li>';

            $previous = $page;
        }

        $html  .= $pages['next']->active ? '<li>'.$this->_link($pages['next'], '&raquo;').'</li>' : '';

        //$html  .= $pages['last']->active ? '<li>'.$this->_link($pages['last'], '<i class="icon-fast-forward icon-last"></i>').'</li>' : '';

        return $html;
    }
protected function _pages ( $ pages ) { $ html = '' ; //$html .= $pages['first']->active ? '<li>'.$this->_link($pages['first'], '<i class="icon-fast-backward icon-first"></i>').'</li>' : ''; $ html .= $ pages [ 'previous' ] -> active ? '<li>' . $ this -> _link ( $ pages [ 'previous' ] , '&laquo;' ) . '</li>' : '' ; $ previous = null ; foreach ( $ pages [ 'pages' ] as $ page ) { if ( $ previous && $ page -> page - $ previous -> page > 1 ) { $ html .= '<li class="k-is-disabled"><span>&hellip;</span></li>' ; } $ html .= '<li class="' . ( $ page -> active && ! $ page -> current ? '' : 'k-is-active' ) . '">' ; $ html .= $ this -> _link ( $ page , $ page -> page ) ; $ html .= '</li>' ; $ previous = $ page ; } $ html .= $ pages [ 'next' ] -> active ? '<li>' . $ this -> _link ( $ pages [ 'next' ] , '&raquo;' ) . '</li>' : '' ; //$html  .= $pages['last']->active ? '<li>'.$this->_link($pages['last'], '<i class="icon-fast-forward icon-last"></i>').'</li>' : ''; return $ html ; }
Render a list of page links

@param   array   $pages An array of page data
@return  string  Html
Render a list of page links