Public Member Functions | |
getPriceTypeSelectHtml () | |
Protected Member Functions | |
_prepareLayout () | |
Protected Attributes | |
$_name = 'abstract' |
Definition at line 35 of file Abstract.php.
_prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
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 }
$_name = 'abstract' [protected] |