public function displayPagingV2($script = false, $return = false, $additionalVars = array())
    {
        $summary = $this->getSummary();
        $paginator = $this->getPagination($script, $additionalVars);
        if ($summary->pages > 1) {
            $html = '';
            $html .= '<div class="ccm-search-results-pagination"><ul class="pagination">';
            $prevClass = 'prev';
            $nextClass = 'next';
            if (!$paginator->hasPreviousPage()) {
                $prevClass = 'prev disabled';
            }
            if (!$paginator->hasNextPage()) {
                $nextClass = 'next disabled';
            }
            $html .= '<li class="' . $prevClass . '">' . $paginator->getPrevious(false, 'a') . '</li>';
            $html .= $paginator->getPages('li');
            $html .= '<li class="' . $nextClass . '">' . $paginator->getNext(false, 'a') . '</li>';
            $html .= '</ul></div>';
        }
        if (isset($html)) {
            if ($return) {
                return $html;
            } else {
                echo $html;
            }
        }
    }