Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Edit Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Edit:

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.

Public Member Functions

 initForm ()


Detailed Description

Definition at line 34 of file Edit.php.


Member Function Documentation

initForm (  ) 

Definition at line 36 of file Edit.php.

00037     {
00038         $form = new Varien_Data_Form();
00039         $form->setHtmlIdPrefix('_edit');
00040 
00041         $model = Mage::registry('current_convert_profile');
00042 
00043         $fieldset = $form->addFieldset('base_fieldset', array('legend'=>Mage::helper('adminhtml')->__('General Information')));
00044 
00045         $fieldset->addField('name', 'text', array(
00046             'name' => 'name',
00047             'label' => Mage::helper('adminhtml')->__('Profile Name'),
00048             'title' => Mage::helper('adminhtml')->__('Profile Name'),
00049             'required' => true,
00050         ));
00051 
00052         $fieldset->addField('actions_xml', 'textarea', array(
00053             'name' => 'actions_xml',
00054             'label' => Mage::helper('adminhtml')->__('Actions XML'),
00055             'title' => Mage::helper('adminhtml')->__('Actions XML'),
00056             'style' => 'width:500px; height:400px',
00057             'required' => true,
00058         ));
00059 
00060 
00061         $form->setValues($model->getData());
00062 
00063         $this->setForm($form);
00064 
00065         return $this;
00066     }


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