protected function debug($message) { $message .= ' (WORKER_'.$this->task->getWorkingAreaFrom().'-'.$this->task->getWorkingAreaTo() . ')'; parent::debug($message); }
protected function debug($message) { parent::debug('Compress commission task: ' . $message); }
protected function loadFromTask() { parent::loadFromTask(); $json = new Gpf_Rpc_Json(); $values = $json->decode($this->getParams()); if (isset($values->isPending)) { $this->paramsArray['isPending'] = $values->isPending; if (isset($values->importedLinesCount)) { $this->paramsArray['importedLinesCount'] = $values->importedLinesCount; } else { $this->paramsArray['importedLinesCount'] = 0; } if (isset($values->importedLinesCount)) { $this->paramsArray['wrongLinesCount'] = $values->wrongLinesCount; } else { $this->paramsArray['wrongLinesCount'] = 0; } } }