Public Member Functions | |
__construct () | |
Protected Member Functions | |
_beforeToHtml () |
Definition at line 34 of file Tabs.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 36 of file Tabs.php.
00037 { 00038 parent::__construct(); 00039 $this->setId('currency_edit_tabs'); 00040 $this->setDestElementId('currency_edit_form'); 00041 $this->setTitle(Mage::helper('adminhtml')->__('Currency')); 00042 }
_beforeToHtml | ( | ) | [protected] |
Before rendering html, but after trying to load cache
Reimplemented from Mage_Adminhtml_Block_Widget_Tabs.
Definition at line 44 of file Tabs.php.
00045 { 00046 $this->addTab('general', array( 00047 'label' => Mage::helper('adminhtml')->__('General Information'), 00048 'content' => $this->getLayout()->createBlock('adminhtml/system_currency_edit_tab_main')->toHtml(), 00049 'active' => true 00050 )); 00051 00052 $this->addTab('currency_rates', array( 00053 'label' => Mage::helper('adminhtml')->__('Rates'), 00054 'content' => $this->getLayout()->createBlock('adminhtml/system_currency_edit_tab_rates')->toHtml(), 00055 )); 00056 00057 return parent::_beforeToHtml(); 00058 }