Mage_Adminhtml_Block_Promo_Quote_Edit_Tabs Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Promo_Quote_Edit_Tabs:

Mage_Adminhtml_Block_Widget_Tabs Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 _beforeToHtml ()


Detailed Description

Definition at line 35 of file Tabs.php.


Constructor & Destructor Documentation

__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     }


Member Function Documentation

_beforeToHtml (  )  [protected]

Before rendering html, but after trying to load cache

Returns:
Mage_Core_Block_Abstract

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     }


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

Generated on Sat Jul 4 17:22:54 2009 for Magento by  doxygen 1.5.8