public function paginator($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest)
    {
        $paginator = Container::getInstance()->getPaginator();
        $paginator->setup($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest);
        return $paginator;
    }
public function paginator($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest)
    {
        $paginator = Container::getInstance()->getPaginator();
        $paginator->setup($nItemsTotal, $nItemsPerPage, $nCurrentPage, $xRequest);
        return $paginator;
    }
public function paginator ( $ nItemsTotal , $ nItemsPerPage , $ nCurrentPage , $ xRequest ) { $ paginator = Container :: getInstance ( ) -> getPaginator ( ) ; $ paginator -> setup ( $ nItemsTotal , $ nItemsPerPage , $ nCurrentPage , $ xRequest ) ; return $ paginator ; }
Get the pagination object for a Jaxon request

@param integer                   $nItemsTotal        The total number of items
@param integer                   $nItemsPerPage      The number of items per page page
@param integer                   $nCurrentPage       The current page
@param Jaxon\Request\Request     $xRequest           A request to a Jaxon function

@return Jaxon\Utils\Paginator     The paginator instance
Get the pagination object for a Jaxon request