ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ExtractorInterface.php
Go to the documentation of this file.
1<?php
2
3namespace 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}
An exception for terminatinating execution or to throw for unit testing.
Class to manage a collection of translations.
static fromFile($file, Translations $translations=null)
Extract the translations from a file.
static fromString($string, Translations $translations=null, $file='')
Parses a string and append the translations found in the Translations instance.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file