nextServer = $networkSettings->getNextServer(); $this->bootFileName = $networkSettings->getBootFileName(); $this->proxy = $networkSettings->getProxy(); $this->dns = $networkSettings->getDns(); $this->netmask = $networkSettings->getNetmask(); $this->router = $networkSettings->getRouter(); $this->ntp = $networkSettings->getNtp(); $this->netiface = $networkSettings->getNetiface(); $this->p2pMode = $networkSettings->getP2pMode(); $this->p2pTime = $networkSettings->getP2pTime(); $this->mcastIp = $networkSettings->getMcastIp(); $this->mcastSpeed = $networkSettings->getMcastSpeed(); $this->mcastPort = $networkSettings->getMcastPort(); $this->mcastMode = $networkSettings->getMcastMode(); $this->ogshare = $networkSettings->getOgshare(); if ($networkSettings->getMenu()) { $this->menu = new MenuOutput($networkSettings->getMenu()); } if ($networkSettings->getHardwareProfile()) { $this->hardwareProfile = new HardwareProfileOutput($networkSettings->getHardwareProfile(), false); } if ($networkSettings->getOgLive()) { $this->ogLive = new OgLiveOutput($networkSettings->getOgLive()); } if ($networkSettings->getRepository()) { $this->repository = new ImageRepositoryOutput($networkSettings->getRepository()); } if ($networkSettings->getPxeTemplate()) { $this->pxeTemplate = new PxeTemplateOutput($networkSettings->getPxeTemplate()); } $this->createdAt = $networkSettings->getCreatedAt(); $this->createdBy = $networkSettings->getCreatedBy(); } }