프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$nodeExportService | Neos\ContentRepository\Domain\Service\ImportExport\NodeExportService | ||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$resourcesPath | string | Absolute path to exported resources, or NULL if resources should be inlined in the exported XML | |
$xmlWriter | XMLWriter | The XMLWriter that is used to construct the export. |
메소드 | 설명 | |
---|---|---|
export ( array $sites, boolean $tidy = false, string $nodeTypeFilter = null ) : string | Fetches the site with the given name and exports it into XML. | |
exportToFile ( array $sites, boolean $tidy = false, string $pathAndFilename, string $nodeTypeFilter = null ) : void | Fetches the site with the given name and exports it as XML into the given file. | |
exportToPackage ( array $sites, boolean $tidy = false, string $packageKey, string $nodeTypeFilter = null ) : void | Fetches the site with the given name and exports it into XML in the given package. |
메소드 | 설명 | |
---|---|---|
exportSite ( |
Export the given $site to the XMLWriter | |
exportSites ( array $sites, string $nodeTypeFilter ) : void | Exports the given sites to the XMLWriter |
public export ( array $sites, boolean $tidy = false, string $nodeTypeFilter = null ) : string | ||
$sites | array | |
$tidy | boolean | Whether to export formatted XML |
$nodeTypeFilter | string | Filter the node type of the nodes, allows complex expressions (e.g. "Neos.Neos:Page", "!Neos.Neos:Page,Neos.Neos:Text") |
리턴 | string |
protected exportSite ( |
||
$site | ||
$nodeTypeFilter | string | |
리턴 | void |
public exportToFile ( array $sites, boolean $tidy = false, string $pathAndFilename, string $nodeTypeFilter = null ) : void | ||
$sites | array | |
$tidy | boolean | Whether to export formatted XML |
$pathAndFilename | string | Path to where the export output should be saved to |
$nodeTypeFilter | string | Filter the node type of the nodes, allows complex expressions (e.g. "Neos.Neos:Page", "!Neos.Neos:Page,Neos.Neos:Text") |
리턴 | void |
public exportToPackage ( array $sites, boolean $tidy = false, string $packageKey, string $nodeTypeFilter = null ) : void | ||
$sites | array | |
$tidy | boolean | Whether to export formatted XML |
$packageKey | string | Package key where the export output should be saved to |
$nodeTypeFilter | string | Filter the node type of the nodes, allows complex expressions (e.g. "Neos.Neos:Page", "!Neos.Neos:Page,Neos.Neos:Text") |
리턴 | void |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory | ||
리턴 | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected NodeExportService,Neos\ContentRepository\Domain\Service\ImportExport $nodeExportService | ||
리턴 | Neos\ContentRepository\Domain\Service\ImportExport\NodeExportService |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
리턴 | Neos\Flow\Package\PackageManagerInterface |
protected string $resourcesPath | ||
리턴 | string |