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;
}
}
}