Esempio n. 1
0
 private function saveBatchInfo($batch_info)
 {
     $batch = new Core_Model_Batch();
     try {
         $batch_id = $batch->saveInfo($batch_info);
         Zend_Registry::get('logger')->debug('batch id = ' . $batch_id);
         return $batch_id;
     } catch (Exception $e) {
         /*Zend_Registry::get('logger')->debug($e);
           throw new Exception(
           'There was some error saving batch information in core. Please try again', 
           Zend_Log::WARN);*/
         return false;
     }
 }