Mage_Adminhtml_Block_System_Convert_Profile_Edit_Form Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Convert_Profile_Edit_Form:

Mage_Adminhtml_Block_Widget_Form Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _prepareForm ()


Detailed Description

Definition at line 35 of file Form.php.


Member Function Documentation

_prepareForm (  )  [protected]

Prepare form before rendering HTML

Returns:
Mage_Adminhtml_Block_Widget_Form

Reimplemented from Mage_Adminhtml_Block_Widget_Form.

Definition at line 37 of file Form.php.

00038     {
00039         $form = new Varien_Data_Form(array('id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post'));
00040 
00041         $model = Mage::registry('current_convert_profile');
00042 
00043         if ($model->getId()) {
00044             $form->addField('profile_id', 'hidden', array(
00045                 'name' => 'profile_id',
00046             ));
00047             $form->setValues($model->getData());
00048         }
00049 
00050         $form->setUseContainer(true);
00051         $this->setForm($form);
00052         return parent::_prepareForm();
00053     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:03 2009 for Magento by  doxygen 1.5.8