$ status = Mage :: helper('sliders') - > getIsActiveOptionArray();
$fieldset->addField('is_active', 'select', array(
'label' => Mage::helper('sliders')->__('Status'),
'required' => true,
'name' => 'is_active',
'values' => $status
));
答案 0 :(得分:0)
$status = array('-1'=>'Please Select..','1' => 'Option1','2' => 'Option2', '3' => 'Option3')