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

Inheritance: extends JMS\TranslationBundle\Translation\FileWriter
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

write() public méthode

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