Mage_Adminhtml_Block_Promo_Catalog_Edit_Tabs Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Promo_Catalog_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('catalogrule')->__('Catalog 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('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     }


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