Exemplo n.º 1
0
 /**
  * Import maps.
  */
 protected function processMaps()
 {
     if ($maps = $this->getFormattedMaps()) {
         $mapImporter = new CMapImporter($this->options, $this->referencer);
         $mapImporter->import($maps);
     }
 }
Exemplo n.º 2
0
 /**
  * Import maps.
  */
 protected function processMaps()
 {
     if ($this->options['maps']['updateExisting'] || $this->options['maps']['createMissing']) {
         $maps = $this->getFormattedMaps();
         if ($maps) {
             $mapImporter = new CMapImporter($this->options, $this->referencer, $this->importedObjectContainer);
             $mapImporter->import($maps);
         }
     }
 }