Public Member Functions | |
__construct () | |
getHeaderText () |
Definition at line 34 of file Edit.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Mage_Adminhtml_Block_Widget_Form_Container.
Definition at line 36 of file Edit.php.
00037 { 00038 $this->_objectId = 'id'; 00039 $this->_controller = 'extensions_custom'; 00040 00041 parent::__construct(); 00042 00043 $this->_removeButton('back'); 00044 00045 $this->_updateButton('reset', 'onclick', "resetPackage()"); 00046 00047 $this->_addButton('create', array( 00048 'label'=>Mage::helper('adminhtml')->__('Save data and Create Package'), 00049 'class'=>'save', 00050 'onclick'=>"createPackage()", 00051 )); 00052 $this->_addButton('save_as', array( 00053 'label'=>Mage::helper('adminhtml')->__('Save As...'), 00054 'title'=>Mage::helper('adminhtml')->__('Save package with custom package file name'), 00055 'onclick'=>'saveAsPackage()' 00056 )); 00057 }
getHeaderText | ( | ) |
Get header text
Reimplemented from Mage_Adminhtml_Block_Widget_Container.
Definition at line 59 of file Edit.php.
00060 { 00061 return Mage::helper('adminhtml')->__('New Extension'); 00062 }