classes/helper/PageHelper.php
protected function getPageObject($sPageCode)
    {
        if (isset($this->arPageList[$sPageCode])) {
            return $this->arPageList[$sPageCode];
        }

        if (empty($sPageCode) || empty($this->obTheme)) {
            return null;
        }

        $this->arPageList[$sPageCode] = CmsPage::loadCached($this->obTheme, $sPageCode);

        return $this->arPageList[$sPageCode];
    }
protected function getPageObject($sPageCode)
    {
        if (isset($this->arPageList[$sPageCode])) {
            return $this->arPageList[$sPageCode];
        }

        if (empty($sPageCode) || empty($this->obTheme)) {
            return null;
        }

        $this->arPageList[$sPageCode] = CmsPage::loadCached($this->obTheme, $sPageCode);

        return $this->arPageList[$sPageCode];
    }
protected function getPageObject ( $ sPageCode ) { if ( isset ( $ this -> arPageList [ $ sPageCode ] ) ) { return $ this -> arPageList [ $ sPageCode ] ; } if ( empty ( $ sPageCode ) || empty ( $ this -> obTheme ) ) { return null ; } $ this -> arPageList [ $ sPageCode ] = CmsPage :: loadCached ( $ this -> obTheme , $ sPageCode ) ; return $ this -> arPageList [ $ sPageCode ] ; }
Get page object
@param string $sPageCode
@return CmsPage|null
Get page object