classes/helper/PageHelper.php
protected function getPageList()
    {
        //Get CMS page list
        $obPageList = $this->getCmsPageList();

        //Get static page list
        $obStaticPageList = $this->getStaticPageList();
        if (!empty($obStaticPageList)) {
            if (empty($obPageList)) {
                return $obStaticPageList;
            }

            $obPageList = $obPageList->merge($obStaticPageList->all());
        }

        return $obPageList;
    }
protected function getPageList()
    {
        //Get CMS page list
        $obPageList = $this->getCmsPageList();

        //Get static page list
        $obStaticPageList = $this->getStaticPageList();
        if (!empty($obStaticPageList)) {
            if (empty($obPageList)) {
                return $obStaticPageList;
            }

            $obPageList = $obPageList->merge($obStaticPageList->all());
        }

        return $obPageList;
    }
protected function getPageList ( ) { //Get CMS page list $ obPageList = $ this -> getCmsPageList ( ) ; //Get static page list $ obStaticPageList = $ this -> getStaticPageList ( ) ; if ( ! empty ( $ obStaticPageList ) ) { if ( empty ( $ obPageList ) ) { return $ obStaticPageList ; } $ obPageList = $ obPageList -> merge ( $ obStaticPageList -> all ( ) ) ; } return $ obPageList ; }
Get page list
@return array|\Cms\Classes\CmsObjectCollection|CmsPage[]|null
Get page list