getNode(Mage_Core_Model_Locale::XML_PATH_ALLOW_CODES); if ($configData) { $configData = $configData->asArray(); } if ($configData) { $configData = array_keys($configData); } else { $configData = array(); } return array_merge($this->_allowedLocales, $configData); } /** * Get list preconfigured allowed currencies * * @return array */ public function getAllowedCurrencies() { $configData = Mage::getConfig()->getNode(Mage_Core_Model_Locale::XML_PATH_ALLOW_CURRENCIES); if ($configData) { $configData = $configData->asArray(); } if ($configData) { $configData = array_keys($configData); } else { $configData = array(); } return array_merge($this->_allowedCurrencies, $configData); } }