src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php
protected function generateLocalizationsFromNodeList(\DOMNodeList $localizationNodes, Portal $portal, $flat = false)
    {
        foreach ($localizationNodes as $localizationNode) {
            $localization = $this->generateLocalizationFromNode($localizationNode, $flat);

            $portal->addLocalization($localization);
        }
    }
protected function generateLocalizationsFromNodeList(\DOMNodeList $localizationNodes, Portal $portal, $flat = false)
    {
        foreach ($localizationNodes as $localizationNode) {
            $localization = $this->generateLocalizationFromNode($localizationNode, $flat);

            $portal->addLocalization($localization);
        }
    }
protected function generateLocalizationsFromNodeList ( \ DOMNodeList $ localizationNodes , Portal $ portal , $ flat = false ) { foreach ( $ localizationNodes as $ localizationNode ) { $ localization = $ this -> generateLocalizationFromNode ( $ localizationNode , $ flat ) ; $ portal -> addLocalization ( $ localization ) ; } }
Generates the localizations for the given portal from the given DOMNodeList.

@param \DOMNodeList $localizationNodes
@param Portal $portal
@param bool $flat
Generates the localizations for the given portal from the given DOMNodeList .