src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php
protected function generateSecurity()
    {
        $securitySystemNode = $this->xpath->query('/x:webspace/x:security/x:system');
        if ($securitySystemNode->length > 0) {
            $security = new Security();
            $security->setSystem($securitySystemNode->item(0)->nodeValue);
            $this->webspace->setSecurity($security);
        }
    }
protected function generateSecurity()
    {
        $securitySystemNode = $this->xpath->query('/x:webspace/x:security/x:system');
        if ($securitySystemNode->length > 0) {
            $security = new Security();
            $security->setSystem($securitySystemNode->item(0)->nodeValue);
            $this->webspace->setSecurity($security);
        }
    }
protected function generateSecurity ( ) { $ securitySystemNode = $ this -> xpath -> query ( '/x:webspace/x:security/x:system' ) ; if ( $ securitySystemNode -> length > 0 ) { $ security = new Security ( ) ; $ security -> setSystem ( $ securitySystemNode -> item ( 0 ) -> nodeValue ) ; $ this -> webspace -> setSecurity ( $ security ) ; } }
Generates and sets the security object from the XML document.
Generates and sets the security object from the XML document .