source/Core/Theme.php
public function load($sOXID)
    {
        $sFilePath = \OxidEsales\Eshop\Core\Registry::getConfig()->getViewsDir() . $sOXID . "/theme.php";
        if (file_exists($sFilePath) && is_readable($sFilePath)) {
            $aTheme = [];
            include $sFilePath;
            $this->_aTheme = $aTheme;
            $this->_aTheme['id'] = $sOXID;
            $this->_aTheme['active'] = ($this->getActiveThemeId() == $sOXID);

            return true;
        }

        return false;
    }
public function load($sOXID)
    {
        $sFilePath = \OxidEsales\Eshop\Core\Registry::getConfig()->getViewsDir() . $sOXID . "/theme.php";
        if (file_exists($sFilePath) && is_readable($sFilePath)) {
            $aTheme = [];
            include $sFilePath;
            $this->_aTheme = $aTheme;
            $this->_aTheme['id'] = $sOXID;
            $this->_aTheme['active'] = ($this->getActiveThemeId() == $sOXID);

            return true;
        }

        return false;
    }
public function load ( $ sOXID ) { $ sFilePath = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getViewsDir ( ) . $ sOXID . "/theme.php" ; if ( file_exists ( $ sFilePath ) && is_readable ( $ sFilePath ) ) { $ aTheme = [ ] ; include $ sFilePath ; $ this -> _aTheme = $ aTheme ; $ this -> _aTheme [ 'id' ] = $ sOXID ; $ this -> _aTheme [ 'active' ] = ( $ this -> getActiveThemeId ( ) == $ sOXID ) ; return true ; } return false ; }
Load theme info

@param string $sOXID theme id

@return bool
Load theme info