
Protected Member Functions | |
| _construct () | |
| _prepareLayout () | |
| _getHeader () | |
| getSaveButtonHtml () | |
| getBackButtonHtml () | |
| getFormHtml () | |
| getFormId () | |
Definition at line 34 of file Add.php.
| _construct | ( | ) | [protected] |
Internal constructor, that is called from real constructor
Please override this one instead of overriding real __construct constructor
Please override this one instead of overriding real __construct constructor
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 36 of file Add.php.
| _getHeader | ( | ) | [protected] |
Definition at line 64 of file Add.php.
00065 { 00066 return Mage::helper('catalog')->__('Add New Attribute Set'); 00067 }
| _prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 41 of file Add.php.
00042 { 00043 $this->setChild('save_button', 00044 $this->getLayout()->createBlock('adminhtml/widget_button') 00045 ->setData(array( 00046 'label' => Mage::helper('catalog')->__('Save Attribute Set'), 00047 'onclick' => 'addSet.submit();', 00048 'class' => 'save' 00049 ))); 00050 $this->setChild('back_button', 00051 $this->getLayout()->createBlock('adminhtml/widget_button') 00052 ->setData(array( 00053 'label' => Mage::helper('catalog')->__('Back'), 00054 'onclick' => 'setLocation(\''.$this->getUrl('*/*/').'\')', 00055 'class' => 'back' 00056 ))); 00057 00058 $this->setChild('setForm', 00059 $this->getLayout()->createBlock('adminhtml/catalog_product_attribute_set_main_formset') 00060 ); 00061 return parent::_prepareLayout(); 00062 }
| getBackButtonHtml | ( | ) | [protected] |
Definition at line 74 of file Add.php.
00075 { 00076 return $this->getChildHtml('back_button'); 00077 }
| getFormHtml | ( | ) | [protected] |
| getFormId | ( | ) | [protected] |
| getSaveButtonHtml | ( | ) | [protected] |
Definition at line 69 of file Add.php.
00070 { 00071 return $this->getChildHtml('save_button'); 00072 }
1.5.8