fork download
  1. protected function _prepareMassaction(){
  2. $this->setMassactionIdField('entity_id');
  3. $this->getMassactionBlock()->setFormFieldName('field_name');
  4. $this->getMassactionBlock()->addItem('status', array(
  5. 'label'=> Mage::helper('namespace_module')->__('Save'),
  6. 'url' => $this->getUrl('*/*/massSave', array('_current'=>true))
  7. ));
  8. return $this;
  9. }
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
    protected function _prepareMassaction(){
        $this->setMassactionIdField('entity_id');
        $this->getMassactionBlock()->setFormFieldName('field_name');
        $this->getMassactionBlock()->addItem('status', array(
            'label'=> Mage::helper('namespace_module')->__('Save'),
            'url'  => $this->getUrl('*/*/massSave', array('_current'=>true))
        ));
        return $this;
    }