classes/helper/PageHelper.php
protected function getStaticPageList()
    {
        if (!PluginManager::instance()->hasPlugin('RainLab.Pages') || empty($this->obTheme)) {
            return null;
        }

        //Get Static page list
        /** @var \Cms\Classes\CmsObjectCollection|\Cms\Classes\Page[] $obStaticPageList */
        $obStaticPage = new \RainLab\Pages\Classes\PageList($this->obTheme);
        $obStaticPageList = $obStaticPage->listPages(true);

        return $obStaticPageList;
    }
protected function getStaticPageList()
    {
        if (!PluginManager::instance()->hasPlugin('RainLab.Pages') || empty($this->obTheme)) {
            return null;
        }

        //Get Static page list
        /** @var \Cms\Classes\CmsObjectCollection|\Cms\Classes\Page[] $obStaticPageList */
        $obStaticPage = new \RainLab\Pages\Classes\PageList($this->obTheme);
        $obStaticPageList = $obStaticPage->listPages(true);

        return $obStaticPageList;
    }
protected function getStaticPageList ( ) { if ( ! PluginManager :: instance ( ) -> hasPlugin ( 'RainLab.Pages' ) || empty ( $ this -> obTheme ) ) { return null ; } //Get Static page list /** @var \Cms\Classes\CmsObjectCollection|\Cms\Classes\Page[] $obStaticPageList */ $ obStaticPage = new \ RainLab \ Pages \ Classes \ PageList ( $ this -> obTheme ) ; $ obStaticPageList = $ obStaticPage -> listPages ( true ) ; return $ obStaticPageList ; }
Get Static page list
@return array|\Cms\Classes\CmsObjectCollection|CmsPage[]|null
Get Static page list