protected function range($start, $end)
        {
            $pages = array();

            // To generate the range of page links, we will iterate through each page
            // and, if the current page matches the page, we will generate a span,
            // otherwise we will generate a link for the page. The span elements
            // will be assigned the "current" CSS class for convenient styling.
            for ($page = $start ; $page <= $end ; $page++) {
                if ($this->page == $page) {
                    $pages[] = '<li class="active"><a href="#">' . $page . '</a></li>';
                } else {
                    $pages[] = $this->link($page, $page, null);
                }
            }

            return implode(' ', $pages);
        }