Mage_Adminhtml_Model_System_Config_Backend_Currency_Base Class Reference

Inheritance diagram for Mage_Adminhtml_Model_System_Config_Backend_Currency_Base:

Mage_Adminhtml_Model_System_Config_Backend_Currency_Abstract Mage_Core_Model_Config_Data Mage_Core_Model_Abstract Varien_Object

List of all members.

Protected Member Functions

 _afterSave ()

Detailed Description

Definition at line 37 of file Base.php.

Member Function Documentation

_afterSave (  )  [protected]

Check base currency is available in installed currencies


Reimplemented from Mage_Core_Model_Abstract.

Definition at line 44 of file Base.php.

00045     {
00046         if (!in_array($this->getValue(), $this->_getInstalledCurrencies())) {
00047             Mage::throwException(Mage::helper('adminhtml')->__('Selected base currency is not available in installed currencies'));
00048         }
00050         return $this;
00051     }

The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:13 2009 for Magento by  doxygen 1.5.8