protected function getThemes()
{
if ($this->_magentoMajorVersion == self::MAGENTO_MAJOR_VERSION_2) {
$collection = \Mage::getModel('Mage_Core_Model_Theme')->getLabelsCollection();
$themes = array();
foreach ($collection as $theme) {
$themes[] = $theme['label'];
}
return array($themes);
}
return \Mage::getModel('core/design_package')->getThemeList();
}