Ejemplo n.º 1
0
 /**
  * Import template screens.
  */
 protected function processTemplateScreens()
 {
     if ($screens = $this->getFormattedTemplateScreens()) {
         $screenImporter = new CTemplateScreenImporter($this->options, $this->referencer);
         $screenImporter->import($screens);
     }
 }
Ejemplo n.º 2
0
 /**
  * Import template screens.
  */
 protected function processTemplateScreens()
 {
     if ($this->options['templateScreens']['updateExisting'] || $this->options['templateScreens']['createMissing'] || $this->options['templateScreens']['deleteMissing']) {
         $screens = $this->getFormattedTemplateScreens();
         $screenImporter = new CTemplateScreenImporter($this->options, $this->referencer, $this->importedObjectContainer);
         $screenImporter->import($screens);
         $screenImporter->delete($screens);
     }
 }