Exemplo n.º 1
0
 public function configurePageTypePublishTargetFromImport($txml)
 {
     $configuration = new AllConfiguration($this);
     $formFactor = (string) $txml['form-factor'];
     if ($formFactor) {
         $configuration->setSelectorFormFactor($formFactor);
     }
     return $configuration;
 }
Exemplo n.º 2
0
 public function configurePageTypePublishTargetFromImport($txml)
 {
     $configuration = new AllConfiguration($this);
     $formFactor = (string) $txml['form-factor'];
     if ($formFactor) {
         $configuration->setSelectorFormFactor($formFactor);
     }
     $path = (string) $txml['path'];
     if ($path) {
         $c = \Page::getByPath($path);
         $configuration->setStartingPointPageID($c->getCollectionID());
     }
     return $configuration;
 }