Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Abstract Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Abstract:

Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Date Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_File Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Select Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text

List of all members.

Public Member Functions

 getPriceTypeSelectHtml ()

Protected Member Functions

 _prepareLayout ()

Protected Attributes

 $_name = 'abstract'


Detailed Description

Definition at line 35 of file Abstract.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_Core_Block_Abstract.

Reimplemented in Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Select.

Definition at line 39 of file Abstract.php.

00040     {
00041         $this->setChild('option_price_type',
00042             $this->getLayout()->createBlock('adminhtml/html_select')
00043                 ->setData(array(
00044                     'id' => 'product_option_{{option_id}}_price_type',
00045                     'class' => 'select product-option-price-type'
00046                 ))
00047                 ->setName('product[options][{{option_id}}][price_type]')
00048                 ->setOptions(Mage::getSingleton('adminhtml/system_config_source_product_options_price')->toOptionArray())
00049         );
00050 
00051         return parent::_prepareLayout();
00052     }

getPriceTypeSelectHtml (  ) 

Reimplemented in Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Select.

Definition at line 54 of file Abstract.php.

00055     {
00056         return $this->getChildHtml('option_price_type');
00057     }


Member Data Documentation

$_name = 'abstract' [protected]

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 37 of file Abstract.php.


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

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