Set the Pager object.

@param mixed $contextId
@param Pager $pager
334145
public function offsetSet($contextId, $pager)
    {
        if (!$pager->manager) {
            $pager->setManager($this);
        }
        $this->pagers[$this->makeParameterId($contextId)] = $pager;
    }
305994
public function setCurrentPageID($id)
    {
        $this->pageID = $id;
        $id = (int)$id;
        /** @deprecated */
        $this->getRequest()->getSession()->set($this->sessionNamespace() . ".currentPage", $id);
    }
45953
public function setRouter(Router $router)
    {
        $this->router = $router;
        $this->router->setContext($this->context);
        $this->context->registerInstance($router);
    }
810569
protected function setPagerIndexCategory()
    {
        $pager = array(
            'total' => $this->data_total,
            'query' => $this->query_filter,
            'limit' => $this->configTheme('catalog_limit', 20)
        );

        return $this->data_limit = $this->setPager($pager);
    }
43625
protected function setPagerListCategory()
    {
        $options = $this->query_filter;
        $options['count'] = true;

        $pager = array(
            'query' => $this->query_filter,
            'total' => (int) $this->category->getList($options)
        );

        return $this->data_limit = $this->setPager($pager);
    }
858094
public void setPageCount(int pageN) {
        this.pageN = pageN;
        DocListener listener;
		for (Iterator iterator = listeners.iterator(); iterator.hasNext();) {
            listener = (DocListener) iterator.next();
            listener.setPageCount(pageN);
        }
    }
1248937
public function setParent(Page $parent)
    {
        $this->parent = $parent;

        $this->parentId = $parent->getPageId();
    }
962916
protected function setPagerListLanguage()
    {
        $pager = array(
            'query' => $this->query_filter,
            'total' => (int) $this->getListLanguage(true)
        );

        return $this->data_limit = $this->setPager($pager);
    }
1360444
private function setPage($page, $pageSize)
    {
        $this->subscriptionCollection
            ->setCurPage($page)
            ->setPageSize($pageSize);
        return $this;
    }
363366
public function setPager($name, $pager)
    {
        $pg = $this->app['pager']->createPager($name);

        foreach ($pager as $prop => $value) {
            $pg->$prop = $value;
        }

        return $this;
    }
1305268
function setPageNum($page_number) {
		$this->page = $page_number;

		if (!is_numeric($this->page) || $this->page < 1) {
			$this->page = 1;
		}

		if ($this->total !== null) {
			$this->sanitizePageNum();
		}
	}
350701
protected function setPage($page_id)
    {
        $this->data_page = $this->page->get($page_id);

        if (empty($this->data_page)) {
            $this->outputHttpStatus(404);
        }

        $this->controlAccessPage();
        $this->preparePage($this->data_page);
    }
1063393
public function setPagerListProductClass()
    {
        $conditions = $this->query_filter;
        $conditions['count'] = true;

        $pager = array(
            'query' => $this->query_filter,
            'total' => (int) $this->product_class->getList($conditions)
        );

        return $this->data_limit = $this->setPager($pager);
    }
592376
protected function setPagerListUserRole()
    {
        $options = $this->query_filter;
        $options['count'] = true;

        $pager = array(
            'query' => $this->query_filter,
            'total' => (int) $this->role->getList($options)
        );

        return $this->data_limit = $this->setPager($pager);
    }
649437
public void setViewPager(ViewPagerEx pager){
        if(pager.getAdapter() == null){
            throw new IllegalStateException("Viewpager does not have adapter instance");
        }
        mPager = pager;
        mPager.addOnPageChangeListener(this);
        ((InfinitePagerAdapter)mPager.getAdapter()).getRealAdapter().registerDataSetObserver(dataChangeObserver);
    }
974071
public function setCurrentPage( $page_number )
	{
		if ( !is_int( $page_number ) )
		{
			trigger_error( 'Pagination setCurrentPage: Page number must be an integer.' );
			return false;
		}

		if ( $page_number <= 0 )
		{
			trigger_error( 'Pagination setCurrentPage: Page number must be a positive integer.' );
			return false;
		}

		$this->current_page_number = $page_number;
	}
1284419
public function setPageLocalization(PageLocalization $pageLocalization)
	{
		$this->pageLocalization = $pageLocalization;
		$this->pageId = $pageLocalization->getMaster()->getId();
	}