Свойство | Type | Description | |
---|---|---|---|
$contentExportManager | Sulu\Component\Content\Export\ContentExportManagerInterface | ||
$documentInspector | Symfony\Component\Templating\EngineInterface | ||
$documentManager | Sulu\Component\DocumentManager\DocumentManager | ||
$extensionManager | Sulu\Component\Content\Extension\ExtensionManagerInterface | ||
$formatFilePaths | string[] | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | ||
$templating | Symfony\Component\Templating\EngineInterface |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Templating\EngineInterface $templating, Sulu\Component\DocumentManager\DocumentManager $documentManager, |
||
export ( $webspaceKey, $locale, $output, $format = '1.2.xliff', $uuid = null, $nodes = null, $ignoredNodes = null ) | ||
getExportData ( $webspaceKey, $locale, $output = null, $format = '1.2.xliff', $uuid = null, $nodes = null, $ignoredNodes = null ) |
Méthode | Description | |
---|---|---|
buildNodeUuidToPathWhere ( $nodes, boolean | false $not = false ) : string | Build query to return only specific nodes. | |
createProperty ( $name, $value = null, array $options = [], string $type = '', array $children = null ) : array | Returns a array with the given value (name, value and options). | |
getBlockPropertyData ( |
Creates and Returns a property-array for content-type Block. | |
getContentData ( |
Returns a array of the given content data of the document. | |
getDocuments ( string $webspaceKey, string $locale, string $uuid = null, array $nodes = null, array $ignoredNodes = null ) : array | Returns all Documents from given webspace. | |
getDocumentsQueryString ( $webspaceKey, $locale, string $uuid = null, array $nodes = null, array $ignoredNodes = null ) : string | Create the query to get all documents from given webspace and language. | |
getExtensionData ( |
Returns a flat array with the extensions of the given document. | |
getPathsByUuids ( $uuids ) : string[] | Returns node path from given uuid. | |
getPropertiesContentData ( |
Returns the Content as a flat array. | |
getPropertyData ( |
Creates and returns a property-array. | |
getSettingData ( |
Returns a flat array with the settings of the given document. | |
getTemplate ( $format ) : string | Returns export template for given format like XLIFF1.2. |
public __construct ( Symfony\Component\Templating\EngineInterface $templating, Sulu\Component\DocumentManager\DocumentManager $documentManager, |
||
$templating | Symfony\Component\Templating\EngineInterface | |
$documentManager | Sulu\Component\DocumentManager\DocumentManager | |
$documentInspector | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$extensionManager | Sulu\Component\Content\Extension\ExtensionManagerInterface | |
$contentExportManager | Sulu\Component\Content\Export\ContentExportManagerInterface | |
$formatFilePaths | array |
protected buildNodeUuidToPathWhere ( $nodes, boolean | false $not = false ) : string | ||
$nodes | ||
$not | boolean | false | |
Résultat | string |
public export ( $webspaceKey, $locale, $output, $format = '1.2.xliff', $uuid = null, $nodes = null, $ignoredNodes = null ) |
protected getBlockPropertyData ( |
||
$property | ||
$propertyValue | ||
$format | ||
Résultat | array |
protected getContentData ( |
||
$document | ||
$locale | ||
$format | ||
Résultat | array |
public getExportData ( $webspaceKey, $locale, $output = null, $format = '1.2.xliff', $uuid = null, $nodes = null, $ignoredNodes = null ) |
protected getExtensionData ( |
||
$document | ||
$format | string | |
Résultat | array |
protected getPathsByUuids ( $uuids ) : string[] | ||
$uuids | ||
Résultat | string[] |
protected getPropertiesContentData ( |
||
$properties | ||
$propertyValues | ||
$format | ||
Résultat | array |
protected getPropertyData ( |
||
$property | ||
$propertyValue | ||
$format | string | |
Résultat | array |
protected getSettingData ( |
||
$document | ||
$format | string | |
Résultat | array |
protected getTemplate ( $format ) : string | ||
$format | ||
Résultat | string |
protected ContentExportManagerInterface,Sulu\Component\Content\Export $contentExportManager | ||
Résultat | Sulu\Component\Content\Export\ContentExportManagerInterface |
protected EngineInterface,Symfony\Component\Templating $documentInspector | ||
Résultat | Symfony\Component\Templating\EngineInterface |
protected DocumentManager,Sulu\Component\DocumentManager $documentManager | ||
Résultat | Sulu\Component\DocumentManager\DocumentManager |
protected ExtensionManagerInterface,Sulu\Component\Content\Extension $extensionManager | ||
Résultat | Sulu\Component\Content\Extension\ExtensionManagerInterface |
protected StructureManagerInterface,Sulu\Component\Content\Compat $structureManager | ||
Résultat | Sulu\Component\Content\Compat\StructureManagerInterface |