Neos.Neos/Classes/Domain/Service/SiteExportService.php
public function export(array $sites, $tidy = false, $nodeTypeFilter = null)
    {
        $this->xmlWriter = new \XMLWriter();
        $this->xmlWriter->openMemory();
        $this->xmlWriter->setIndent($tidy);

        $this->exportSites($sites, $nodeTypeFilter);

        return $this->xmlWriter->outputMemory(true);
    }
public function export(array $sites, $tidy = false, $nodeTypeFilter = null)
    {
        $this->xmlWriter = new \XMLWriter();
        $this->xmlWriter->openMemory();
        $this->xmlWriter->setIndent($tidy);

        $this->exportSites($sites, $nodeTypeFilter);

        return $this->xmlWriter->outputMemory(true);
    }
public function export ( array $ sites , $ tidy = false , $ nodeTypeFilter = null ) { $ this -> xmlWriter = new \ XMLWriter ( ) ; $ this -> xmlWriter -> openMemory ( ) ; $ this -> xmlWriter -> setIndent ( $ tidy ) ; $ this -> exportSites ( $ sites , $ nodeTypeFilter ) ; return $ this -> xmlWriter -> outputMemory ( true ) ; }
Fetches the site with the given name and exports it into XML.

@param array<Site> $sites
@param boolean $tidy Whether to export formatted XML
@param string $nodeTypeFilter Filter the node type of the nodes, allows complex expressions (e.g. "Neos.Neos:Page", "!Neos.Neos:Page,Neos.Neos:Text")
@return string
Fetches the site with the given name and exports it into XML .