Backend\Modules\Extensions\Actions\Themes::loadData PHP Метод

loadData() приватный Метод

Load the available themes.
private loadData ( )
    private function loadData()
    {
        // loop themes
        foreach (BackendExtensionsModel::getThemes() as $theme) {
            // themes that are already installed = have at least 1 template in DB
            if ($theme['installed']) {
                $this->installedThemes[] = $theme;
            } elseif ($theme['installable']) {
                // themes that are not yet installed, but contain valid info.xml installation data
                $this->installableThemes[] = $theme;
            }
        }
    }