PHP Interface Sulu\Component\Content\Import\WebspaceInterface

Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
add ( Sulu\Component\Content\Import\WebspaceFormatImportInterface $service, $format ) Add import format like XLIFF1.2.
import ( string $webspaceKey, string $locale, string $filePath, $output = null, string $format = '1.2.xliff', string $uuid = null, $exportSuluVersion = '1.3' ) : array Starts language import for given webspace and locale.

Method Details

add() public method

Add import format like XLIFF1.2.
public add ( Sulu\Component\Content\Import\WebspaceFormatImportInterface $service, $format )
$service Sulu\Component\Content\Import\WebspaceFormatImportInterface
$format

import() public method

Starts language import for given webspace and locale.
public import ( string $webspaceKey, string $locale, string $filePath, $output = null, string $format = '1.2.xliff', string $uuid = null, $exportSuluVersion = '1.3' ) : array
$webspaceKey string
$locale string
$filePath string
$output
$format string
$uuid string
return array