Ejemplo n.º 1
0
 private function importArtifactsInNewlyCreatedTracker(Tracker $tracker, SimpleXMLElement $xml_tracker)
 {
     if (isset($xml_tracker->artifacts)) {
         $extraction_path = '';
         $this->xml_import->importFromXML($tracker, $xml_tracker->artifacts, $extraction_path);
     }
 }
Ejemplo n.º 2
0
 private function importArtifactsInNewlyCreatedTracker(Tracker $tracker, SimpleXMLElement $xml_tracker, $extraction_path)
 {
     if (isset($xml_tracker->artifacts)) {
         $xml_mapping = new TrackerXmlFieldsMapping_FromAnotherPlatform($this->xmlFieldsMapping);
         $this->xml_import->importFromXML($tracker, $xml_tracker->artifacts, $extraction_path, $xml_mapping);
     }
 }