Mage_Directory_Block_Adminhtml_Frontend_Region_Updater Class Reference

Inheritance diagram for Mage_Directory_Block_Adminhtml_Frontend_Region_Updater:

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.

Protected Member Functions

 _getElementHtml (Varien_Data_Form_Element_Abstract $element)


Detailed Description

Definition at line 27 of file Updater.php.


Member Function Documentation

_getElementHtml ( Varien_Data_Form_Element_Abstract element  )  [protected]

Enter description here...

Parameters:
Varien_Data_Form_Element_Abstract $element
Returns:
string

Reimplemented from Mage_Adminhtml_Block_System_Config_Form_Field.

Definition at line 30 of file Updater.php.

00031     {
00032         $html = parent::_getElementHtml($element);
00033         $html .= "<script type=\"text/javascript\">var updater = new RegionUpdater('tax_defaults_country', 'tax_region', 'tax_defaults_region', ".$this->helper('directory')->getRegionJson().", 'disable');</script>";
00034 
00035         return $html;
00036     }


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