ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ExtractorInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Gettext\Extractors;
4 
6 
8 {
17  public static function fromFile($file, Translations $translations = null);
18 
28  public static function fromString($string, Translations $translations = null, $file = '');
29 }
static fromString($string, Translations $translations=null, $file='')
Parses a string and append the translations found in the Translations instance.
static fromFile($file, Translations $translations=null)
Extract the translations from a file.
Class to manage a collection of translations.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file