Public Member Functions | |
__construct () | |
getActionButtonHtml () |
Definition at line 34 of file Actions.php.
__construct | ( | ) |
Class constructor
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 37 of file Actions.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('extensions/remote/actions.phtml'); 00041 }
getActionButtonHtml | ( | ) |
Definition at line 43 of file Actions.php.
00044 { 00045 $html = ''; 00046 00047 $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button') 00048 ->setClass('save')->setLabel($this->__('Install')) 00049 ->setOnClick('install()') 00050 ->toHtml(); 00051 00052 $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button') 00053 ->setClass('save')->setLabel($this->__('Upgrade')) 00054 ->setOnClick('upgrade()') 00055 ->toHtml(); 00056 00057 return $html; 00058 }