ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.