src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php
protected function generateWebspaceLocalizations()
    {
        foreach ($this->xpath->query('/x:webspace/x:localizations/x:localization') as $localizationNode) {
            $localization = $this->generateLocalizationFromNode($localizationNode);

            $this->webspace->addLocalization($localization);
        }
    }
protected function generateWebspaceLocalizations()
    {
        foreach ($this->xpath->query('/x:webspace/x:localizations/x:localization') as $localizationNode) {
            $localization = $this->generateLocalizationFromNode($localizationNode);

            $this->webspace->addLocalization($localization);
        }
    }
protected function generateWebspaceLocalizations ( ) { foreach ( $ this -> xpath -> query ( '/x:webspace/x:localizations/x:localization' ) as $ localizationNode ) { $ localization = $ this -> generateLocalizationFromNode ( $ localizationNode ) ; $ this -> webspace -> addLocalization ( $ localization ) ; } }
Generates the localization for the webspace from the XML document.
Generates the localization for the webspace from the XML document .