Mage_Directory_Block_Adminhtml_Frontend_Currency_Base Class Reference

Inheritance diagram for Mage_Directory_Block_Adminhtml_Frontend_Currency_Base:

Mage_Adminhtml_Block_System_Config_Form_Field Mage_Adminhtml_Block_Abstract Varien_Data_Form_Element_Renderer_Interface Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 render (Varien_Data_Form_Element_Abstract $element)


Detailed Description

Backend model for base currency

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file Base.php.


Member Function Documentation

render ( Varien_Data_Form_Element_Abstract element  ) 

Enter description here...

Parameters:
Varien_Data_Form_Element_Abstract $element
Returns:
string

Reimplemented from Mage_Adminhtml_Block_System_Config_Form_Field.

Definition at line 35 of file Base.php.

00036     {
00037         if ($this->getRequest()->getParam('website') != '') {
00038             $priceScope = Mage::app()->getStore()->getConfig(Mage_Core_Model_Store::XML_PATH_PRICE_SCOPE);
00039             if ($priceScope == Mage_Core_Model_Store::PRICE_SCOPE_GLOBAL) {
00040                 return '';
00041             }
00042         }
00043         return parent::render($element);
00044     }


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

Generated on Sat Jul 4 17:24:06 2009 for Magento by  doxygen 1.5.8