コード例 #1
0
ファイル: 014.php プロジェクト: ngchie/system
 protected function processFileForResponse($filePath, $logLine)
 {
     $tmpLogLine = $logLine->getRawData();
     $unprocessDBLines = Billrun_Factory::db()->linesCollection()->query()->notExists('billrun')->equals('file', $tmpLogLine['file']);
     //run only if theres promlematic lines in the file.
     if ($unprocessDBLines->count() == 0) {
         return false;
     }
     return parent::processFileForResponse($filePath, $logLine);
 }
コード例 #2
0
ファイル: 019.php プロジェクト: kalburgimanjunath/system
 protected function processFileForResponse($filePath, $logLine)
 {
     $this->phoneNumbersSum = 0;
     return parent::processFileForResponse($filePath, $logLine);
 }