PHP Class eZ\Publish\Core\MVC\Symfony\Translation\CatalogueMapperFileWriter

Inheritance: extends JMS\TranslationBundle\Translation\FileWriter
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( JMS\TranslationBundle\Translation\FileWriter $innerFileWriter, JMS\TranslationBundle\Translation\LoaderManager $loaderManager )
write ( JMS\TranslationBundle\Model\MessageCatalogue $catalogue, $domain, $filePath, $format )

Private Methods

Method Description
getEnglishFilePath ( $filePath ) : mixed
hasEnglishCatalogue ( $foreignFilePath )
loadEnglishCatalogue ( $foreignFilePath, $domain, $format ) : JMS\TranslationBundle\Model\MessageCatalogue
makeXliffMessage ( JMS\TranslationBundle\Model\Message $message ) : JMS\TranslationBundle\Model\Message\XliffMessage

Method Details

__construct() public method

public __construct ( JMS\TranslationBundle\Translation\FileWriter $innerFileWriter, JMS\TranslationBundle\Translation\LoaderManager $loaderManager )
$innerFileWriter JMS\TranslationBundle\Translation\FileWriter
$loaderManager JMS\TranslationBundle\Translation\LoaderManager

write() public method

public write ( JMS\TranslationBundle\Model\MessageCatalogue $catalogue, $domain, $filePath, $format )
$catalogue JMS\TranslationBundle\Model\MessageCatalogue