Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Configurable Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Configurable:

Mage_Adminhtml_Block_Catalog_Product_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.

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 34 of file Configurable.php.


Member Function Documentation

_prepareLayout (  )  [protected]

Preparing global layout

You can redefine this method in child classes for changin layout

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs.

Definition at line 36 of file Configurable.php.

00037     {
00038 //        $product = $this->getProduct();
00039 
00040 //        if (!($superAttributes = $product->getTypeInstance()->getUsedProductAttributeIds())) {
00041             $this->addTab('super_settings', array(
00042                 'label'     => Mage::helper('catalog')->__('Configurable Product Settings'),
00043                 'content'   => $this->getLayout()->createBlock('adminhtml/catalog_product_edit_tab_super_settings')->toHtml(),
00044                 'active'    => true
00045             ));
00046 
00047 //        } else {
00048 //            parent::_prepareLayout();
00049 //
00050 //            $this->addTab('configurable', array(
00051 //                'label'     => Mage::helper('catalog')->__('Associated Products'),
00052 //                'content'   => $this->getLayout()->createBlock('adminhtml/catalog_product_edit_tab_super_config', 'admin.super.config.product')
00053 //                    ->setProductId($this->getRequest()->getParam('id'))
00054 //                    ->toHtml(),
00055 //            ));
00056 //            $this->bindShadowTabs('configurable', 'customer_options');
00057 //        }
00058     }


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

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