Protected Member Functions | |
_prepareLayout () |
Definition at line 34 of file Configurable.php.
_prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
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 }