Exemple #1
0
 protected function proc()
 {
     $ids = $this->parseLogAndGetCustIds($this->fetchQue());
     if (empty($ids)) {
         return $this->comment('No error need to be fixed!');
     }
     $members = $this->fetchMembers($ids);
     ExecuteAgent::command(FVSyncType::VIGATYPE_MEMBER, $this->genMemberFileAndGetPath($members));
     ExecuteAgent::command(FVSyncType::VIGATYPE_LIST, $this->getCtiWriter()->getFname());
 }
 /**
  * Import file to viga db  
  */
 protected function importFile(FVSyncQue $que)
 {
     return ExecuteAgent::exec($que);
 }
Exemple #3
0
 protected function exec()
 {
     ExecuteAgent::exec($this->getQue());
     return $this;
 }