Public Member Functions | |
__construct () | |
Protected Member Functions | |
_beforeToHtml () |
Definition at line 35 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 38 of file Tabs.php.
00039 { 00040 parent::__construct(); 00041 $this->setId('promo_catalog_edit_tabs'); 00042 $this->setDestElementId('edit_form'); 00043 $this->setTitle(Mage::helper('catalogrule')->__('Catalog Price Rule')); 00044 }
_beforeToHtml | ( | ) | [protected] |
Before rendering html, but after trying to load cache
Reimplemented from Mage_Adminhtml_Block_Widget_Tabs.
Definition at line 46 of file Tabs.php.
00047 { 00048 $this->addTab('main_section', array( 00049 'label' => Mage::helper('catalogrule')->__('Rule Information'), 00050 'title' => Mage::helper('catalogrule')->__('Rule Information'), 00051 'content' => $this->getLayout()->createBlock('adminhtml/promo_catalog_edit_tab_main')->toHtml(), 00052 'active' => true 00053 )); 00054 00055 $this->addTab('conditions_section', array( 00056 'label' => Mage::helper('catalogrule')->__('Conditions'), 00057 'title' => Mage::helper('catalogrule')->__('Conditions'), 00058 'content' => $this->getLayout()->createBlock('adminhtml/promo_catalog_edit_tab_conditions')->toHtml(), 00059 )); 00060 00061 $this->addTab('actions_section', array( 00062 'label' => Mage::helper('catalogrule')->__('Actions'), 00063 'title' => Mage::helper('catalogrule')->__('Actions'), 00064 'content' => $this->getLayout()->createBlock('adminhtml/promo_catalog_edit_tab_actions')->toHtml(), 00065 )); 00066 00067 return parent::_beforeToHtml(); 00068 }