protected function translateRow(&$row)
 {
     unset($row['idvisit']);
     $row['idsite'] = $this->siteMigrator->getNewId($row['idsite']);
     $row['visit_exit_idaction_url'] = $this->actionMigrator->getNewId($row['visit_exit_idaction_url']);
     $row['visit_exit_idaction_name'] = $this->actionMigrator->getNewId($row['visit_exit_idaction_name']);
     $row['visit_entry_idaction_url'] = $this->actionMigrator->getNewId($row['visit_entry_idaction_url']);
     $row['visit_entry_idaction_name'] = $this->actionMigrator->getNewId($row['visit_entry_idaction_name']);
 }
예제 #2
0
 private function loadActions()
 {
     Log::info('Loading existing actions');
     $this->actionMigrator->loadExistingActions();
 }