Public Member Functions | |
__construct () | |
Protected Member Functions | |
_prepareForm () |
Definition at line 35 of file Form.php.
__construct | ( | ) |
Class constructor
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 38 of file Form.php.
00039 { 00040 parent::__construct(); 00041 $this->setId('promo_quote_form'); 00042 $this->setTitle(Mage::helper('salesrule')->__('Rule Information')); 00043 }
_prepareForm | ( | ) | [protected] |
Prepare form before rendering HTML
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 45 of file Form.php.
00046 { 00047 $form = new Varien_Data_Form(array('id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post')); 00048 $form->setUseContainer(true); 00049 $this->setForm($form); 00050 return parent::_prepareForm(); 00051 }