public function paginator($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest)
    {
        $paginator = Container::getInstance()->getPaginator();
        $paginator->setup($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest);
        return $paginator;
    }