ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
ExtractorInterface.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Gettext\Extractors
;
4
5
use
Gettext\Translations
;
6
7
interface
ExtractorInterface
8
{
17
public
static
function
fromFile
(
$file
,
Translations
$translations = null);
18
28
public
static
function
fromString
($string,
Translations
$translations = null,
$file
=
''
);
29
}
Gettext\Extractors\ExtractorInterface\fromString
static fromString($string, Translations $translations=null, $file='')
Parses a string and append the translations found in the Translations instance.
Gettext\Extractors\ExtractorInterface\fromFile
static fromFile($file, Translations $translations=null)
Extract the translations from a file.
Translations
Gettext\Translations
Class to manage a collection of translations.
Definition:
Translations.php:11
Gettext\Extractors\ExtractorInterface
Definition:
ExtractorInterface.php:7
$file
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
Definition:
rename-config.php:43
Gettext\Extractors
Definition:
Blade.php:3
libs
composer
vendor
gettext
gettext
src
Extractors
ExtractorInterface.php
Generated on Sat Jan 18 2025 19:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)