private function displayPager()
    {
        $pager = ($this->maxPage > 9) ? $this->createFullPages() : $this->createSimplePages();
        echo '<div class="pager">';
        $this->displayLeftSide();
        for ($i = 0; $i < count($pager); $i++) {
            echo $pager[$i];
        }
        $this->displayRightSide();
        echo "</div>";
    }