Public Member Functions | |
createFromConfiguration (array $configuration) |
Definition at line 35 of file Default.php.
createFromConfiguration | ( | array $ | configuration | ) |
Implements Mage_Adminhtml_Block_Widget_Grid_Massaction_Item_Additional_Interface.
Definition at line 38 of file Default.php.
00039 { 00040 $form = new Varien_Data_Form(); 00041 00042 foreach ($configuration as $itemId=>$item) { 00043 $item['class'] = isset($item['class']) ? $item['class'] . ' absolute-advice' : 'absolute-advice'; 00044 $form->addField($itemId, $item['type'], $item); 00045 } 00046 $this->setForm($form); 00047 return $this; 00048 }