Adds an array DialogPage to the list of pages managed by this
CompositeDialogPage.

@param pages the pages to add
548825
public void addPages(DialogPage[] pages) {
		for (int i = 0; i < pages.length; i++) {
			addPage(pages[i]);
		}
	}
1203343
public function addChild(\Fulgurio\LightCMSBundle\Entity\Page $children)
    {
        $this->children[] = $children;

        return $this;
    }
801679
@Override
    protected void defineWidgets() {

        super.defineWidgets();

        addWidget(new CmsWidgetDialogParameter(m_module, "resources", PAGES[0], new CmsVfsFileWidget()));
        addWidget(new CmsWidgetDialogParameter(m_module, "excludeResources", PAGES[0], new CmsVfsFileWidget()));
    }
1082798
void addPerPageElements (@Nonnull @Nonempty final ICommonsList <PLElementWithSize> aCurPageElements)
  {
    ValueEnforcer.notEmptyNoNullValue (aCurPageElements, "CurPageElements");
    m_aPerPageElements.add (aCurPageElements);
  }
379292
public function setPages($pages)
    {
        foreach ($pages as $key => $dtoData) {
            $this->pages[$key] = new RunePageDto($dtoData);
        }
    
        return $this;
    }
1049410
public void add(CmsDetailPageInfo info) {

        m_map.put(info.getType(), info);
        m_infoById.put(info.getId(), info);
    }
9288
public function addPage($page)
    {
        if (is_array($page)) {
            $page = static::makePage($page);
        } elseif (is_string($page) or is_null($page)) {
            $title = $page;

            $page = app(PageInterface::class);
            $page->setTitle($title);
        }

        if (! ($page instanceof PageInterface)) {
            return;
        }

        $this->getPages()->push($page);

        return $page;
    }
194145
public void addPage(WizardPage<DATA> page) {
		if (!started) {
			WizardPage<DATA> lastPage = pages.size() > 0 ? pages.get(pages.size() - 1) : null;
			if (lastPage != null) {
				lastPage.setNextPage(page);
				page.setPreviousPage(lastPage);
			}
			pages.add(page);
			wizardView.addPageToView(page);
		}
	}
1331898
public function addPageFilter(Page $page)
    {
        if ($page && !$page->isRoot()) {
            $this->leftJoin('cc._mainnode', 'p')
                    ->leftJoin('p._section', 'sp')
                    ->andWhere('sp._root = :selectedPageRoot')
                    ->andWhere('sp._leftnode >= :selectedPageLeftnode')
                    ->andWhere('sp._rightnode <= :selectedPageRightnode')
                    ->setParameters([
                        'selectedPageRoot' => $page->getSection()->getRoot(),
                        'selectedPageLeftnode' => $page->getLeftnode(),
                        'selectedPageRightnode' => $page->getRightnode(),
                    ]);
        }
    }
1361306
public function addApps(ArrayCollection $apps)
    {
        foreach ($apps as $app) {
            $app->addPage($this);
            $this->apps->add($app);
        }
    }
1236221
public function setPages($pages)
    {
        foreach ($pages as $key => $dtoData) {
            $this->pages[$key] = new MasteryPageDto($dtoData);
        }
    
        return $this;
    }
705082
public function addPage(ChildPage $l)
    {
        if ($this->collPages === null) {
            $this->initPages();
            $this->collPagesPartial = true;
        }

        if (!$this->collPages->contains($l)) {
            $this->doAddPage($l);

            if ($this->pagesScheduledForDeletion and $this->pagesScheduledForDeletion->contains($l)) {
                $this->pagesScheduledForDeletion->remove($this->pagesScheduledForDeletion->search($l));
            }
        }

        return $this;
    }
283939
protected function addPages(Pages $pages, $from, $to)
    {

        $items = $from == 1 ? 0 : ($from-1) * $this->perPage;

        for ($page=$from; $page <= $to; $page++) {

            $items += $this->perPage;

            $pageObject = $this->newPage([
                'number'      => $page,
                'url'         => $this->baseUrl ? $this->baseUrl->query($this->pageParameterName, $page) : '',
                'is_current'  => $page == $this->currentPageNumber,
                'is_previous' => $page == $this->currentPageNumber-1,
                'is_next'     => $page == $this->currentPageNumber+1,
                'is_first'    => $page == 1,
                'is_last'     => $items >= $this->totalCount,
                'offset'      => ($page-1) * $this->perPage
            ]);

            $pages->add($pageObject);

        }

        return $pages;
    }
82651
public void addErrorPage(final WebAppErrorPage errorPage) {
		NullArgumentException.validateNotNull(errorPage, "Error page");
		if (errorPage.getErrorCode() == null
				&& errorPage.getExceptionType() == null) {
			throw new NullPointerException(
					"At least one of error type or exception code must be set");
		}
		errorPages.add(errorPage);
	}
374105
protected void setPageData(SinglePage<T> page) {
    setPage(page);
    this.pageIndex = page.getPageIndex();
    this.totalPages = page.getTotalPages();
  }
1012463
private void addMetaPageInternal(final MetaHelpPage page) {
    log.debug("Adding meta-page: {}", page);
    metaPages.put(page.getName(), page);
    events.publish(new MetaHelpPageAddedEvent(page));
  }
575402
protected synchronized void writePages(OggPage[] pages) throws IOException {
        for(OggPage page : pages) {
            page.writeHeader( out );
            out.write( page.getData() );
        }
        out.flush();
    }