private function setCurrentPage($currentPage, $totalPage)
    {
        if (1 > $currentPage) {
            $currentPage = 1;
        }

        if ((0 < $totalPage) && ($totalPage < $currentPage)) {
            $currentPage = $totalPage;
        }

        $this->currentPage = $currentPage;
    }