ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
GeneratorInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Gettext\Generators;
4 
6 
8 {
17  public static function toFile(Translations $translations, $file);
18 
26  public static function toString(Translations $translations);
27 }
static toFile(Translations $translations, $file)
Saves the translations in a file.
Class to manage a collection of translations.
static toString(Translations $translations)
Generates a string with the translations ready to save in a file.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file