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('salesrule')->__('Shopping Cart 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('salesrule')->__('Rule Information'), 00050 'content' => $this->getLayout()->createBlock('adminhtml/promo_quote_edit_tab_main')->toHtml(), 00051 'active' => true 00052 )); 00053 00054 $this->addTab('conditions_section', array( 00055 'label' => Mage::helper('salesrule')->__('Conditions'), 00056 'content' => $this->getLayout()->createBlock('adminhtml/promo_quote_edit_tab_conditions')->toHtml(), 00057 )); 00058 00059 $this->addTab('actions_section', array( 00060 'label' => Mage::helper('salesrule')->__('Actions'), 00061 'content' => $this->getLayout()->createBlock('adminhtml/promo_quote_edit_tab_actions')->toHtml(), 00062 )); 00063 00064 return parent::_beforeToHtml(); 00065 }