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 $this->setTemplate('extensions/console/form.phtml'); 00040 $form = new Varien_Data_Form(array('id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post')); 00041 00042 $form->setUseContainer(true); 00043 $this->setForm($form); 00044 00045 return parent::_prepareForm(); 00046 }