public function processEditSingleAction()
 {
     $type = (int) $this->_getParam('type');
     $field = $this->_getParam('field');
     $id = (int) $this->_getParam('id');
     $value = preg_replace('/[^a-z_0-9- ]/i', '', $this->_getParam('value', ''));
     $HSAHandler = new Handler();
     $data = array();
     $data['msg'] = __('Field name ' . $field . ' does not exist');
     if (in_array($field, $HSAHandler->ormFields())) {
         if ($id > 0) {
             $HSAHandler->handlerId = $id;
             $HSAHandler->populate();
         }
         $HSAHandler->{$field} = $value;
         $HSAHandler->handlerType = $type;
         $HSAHandler->persist();
         $data['msg'] = __('Updated successfully');
     }
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct($data);
 }