protected function getPages()
    {
        $pages = $this->site->getPages();
        $additionalPageIds = [];
        if (!empty($this->indexingConfiguration['additionalPageIds'])) {
            $additionalPageIds = GeneralUtility::intExplode(',', $this->indexingConfiguration['additionalPageIds']);
        }

        $pages = array_merge($pages, $additionalPageIds);
        sort($pages, SORT_NUMERIC);

        return $pages;
    }
protected function getPages()
    {
        $pages = $this->site->getPages();
        $additionalPageIds = [];
        if (!empty($this->indexingConfiguration['additionalPageIds'])) {
            $additionalPageIds = GeneralUtility::intExplode(',', $this->indexingConfiguration['additionalPageIds']);
        }

        $pages = array_merge($pages, $additionalPageIds);
        sort($pages, SORT_NUMERIC);

        return $pages;
    }
protected function getPages ( ) { $ pages = $ this -> site -> getPages ( ) ; $ additionalPageIds = [ ] ; if ( ! empty ( $ this -> indexingConfiguration [ 'additionalPageIds' ] ) ) { $ additionalPageIds = GeneralUtility :: intExplode ( ',' , $ this -> indexingConfiguration [ 'additionalPageIds' ] ) ; } $ pages = array_merge ( $ pages , $ additionalPageIds ) ; sort ( $ pages , SORT_NUMERIC ) ; return $ pages ; }
Gets the pages in a site plus additional pages that may have been
configured.

@return array A (sorted) array of page IDs in a site
Gets the pages in a site plus additional pages that may have been configured .