Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
I18n
NullTranslator.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\I18n
;
4
14
final
class
NullTranslator
extends
Translator
{
15
19
public
function
translate
($message_key,
$args
= [],
$language
=
''
): string {
20
return
$message_key;
21
}
22
}
$args
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
Definition:
js_rewrite_check.php:8
Elgg\I18n\NullTranslator
A translator that does nothing except return the key that was requested.
Definition:
NullTranslator.php:14
Elgg\I18n\Translator
Translator.
Definition:
Translator.php:16
$language
$language
Definition:
useradd.php:17
Elgg\I18n\NullTranslator\translate
translate($message_key, $args=[], $language= '')
Definition:
NullTranslator.php:19
Elgg\I18n
Definition:
DateTime.php:3
Generated on Mon Dec 2 2024 00:03:25 for Elgg by
1.8.11