public function getPagelist($startingPointsRecursive = '', $singlePages = '')
    {
        // make array from list
        $pidsRecursive = GeneralUtility::trimExplode(',', $startingPointsRecursive, true);
        $pidsNonRecursive = GeneralUtility::trimExplode(',', $singlePages, true);

        // add recursive pids
        $pageList = '';
        foreach ($pidsRecursive as $pid) {
            $pageList .= $this->queryGen->getTreeList($pid, 99, 0, '1=1') . ',';
        }

        // add non-recursive pids
        foreach ($pidsNonRecursive as $pid) {
            $pageList .= $pid . ',';
        }

        // convert to array
        $pageUidArray = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $pageList, true);

        return $pageUidArray;
    }
public function getPagelist($startingPointsRecursive = '', $singlePages = '')
    {
        // make array from list
        $pidsRecursive = GeneralUtility::trimExplode(',', $startingPointsRecursive, true);
        $pidsNonRecursive = GeneralUtility::trimExplode(',', $singlePages, true);

        // add recursive pids
        $pageList = '';
        foreach ($pidsRecursive as $pid) {
            $pageList .= $this->queryGen->getTreeList($pid, 99, 0, '1=1') . ',';
        }

        // add non-recursive pids
        foreach ($pidsNonRecursive as $pid) {
            $pageList .= $pid . ',';
        }

        // convert to array
        $pageUidArray = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $pageList, true);

        return $pageUidArray;
    }
public function getPagelist ( $ startingPointsRecursive = '' , $ singlePages = '' ) { // make array from list $ pidsRecursive = GeneralUtility :: trimExplode ( ',' , $ startingPointsRecursive , true ) ; $ pidsNonRecursive = GeneralUtility :: trimExplode ( ',' , $ singlePages , true ) ; // add recursive pids $ pageList = '' ; foreach ( $ pidsRecursive as $ pid ) { $ pageList .= $ this -> queryGen -> getTreeList ( $ pid , 99 , 0 , '1=1' ) . ',' ; } // add non-recursive pids foreach ( $ pidsNonRecursive as $ pid ) { $ pageList .= $ pid . ',' ; } // convert to array $ pageUidArray = \ TYPO3 \ CMS \ Core \ Utility \ GeneralUtility :: trimExplode ( ',' , $ pageList , true ) ; return $ pageUidArray ; }
get all recursive contained pids of given Page-UID
regardless if we need them or if they are sysfolders, links or what ever
@param string $startingPointsRecursive comma-separated list of pids of recursive start-points
@param string $singlePages comma-separated list of pids of single pages
@return array List of page UIDs
get all recursive contained pids of given Page - UID regardless if we need them or if they are sysfolders links or what ever