source/Core/Theme.php
public function getList()
    {
        $this->_aThemeList = [];
        $sOutDir = \OxidEsales\Eshop\Core\Registry::getConfig()->getViewsDir();
        foreach (glob($sOutDir . "*", GLOB_ONLYDIR) as $sDir) {
            $oTheme = oxNew(\OxidEsales\Eshop\Core\Theme::class);
            if ($oTheme->load(basename($sDir))) {
                $this->_aThemeList[$sDir] = $oTheme;
            }
        }

        return $this->_aThemeList;
    }
public function getList()
    {
        $this->_aThemeList = [];
        $sOutDir = \OxidEsales\Eshop\Core\Registry::getConfig()->getViewsDir();
        foreach (glob($sOutDir . "*", GLOB_ONLYDIR) as $sDir) {
            $oTheme = oxNew(\OxidEsales\Eshop\Core\Theme::class);
            if ($oTheme->load(basename($sDir))) {
                $this->_aThemeList[$sDir] = $oTheme;
            }
        }

        return $this->_aThemeList;
    }
public function getList ( ) { $ this -> _aThemeList = [ ] ; $ sOutDir = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getViewsDir ( ) ; foreach ( glob ( $ sOutDir . "*" , GLOB_ONLYDIR ) as $ sDir ) { $ oTheme = oxNew ( \ OxidEsales \ Eshop \ Core \ Theme :: class ) ; if ( $ oTheme -> load ( basename ( $ sDir ) ) ) { $ this -> _aThemeList [ $ sDir ] = $ oTheme ; } } return $ this -> _aThemeList ; }
Load theme info list

@return array
Load theme info list