Protected Member Functions | |
_prepareForm () |
Definition at line 35 of file Form.php.
_prepareForm | ( | ) | [protected] |
Prepare form before rendering HTML
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 37 of file Form.php.
00038 { 00039 $form = new Varien_Data_Form(array( 00040 'id' => 'edit_form', 00041 'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))), 00042 'method' => 'post', 00043 ) 00044 ); 00045 00046 $form->setUseContainer(true); 00047 $this->setForm($form); 00048 return parent::_prepareForm(); 00049 }