Elgg
Version 3.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
I18n
TranslatorInterface.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\I18n
;
4
14
interface
TranslatorInterface
{
15
36
public
function
translate
(
$key
, array
$args
= [],
Locale
$locale = null);
37
}
$args
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
Definition:
js_rewrite_check.php:8
Elgg\I18n\TranslatorInterface
WARNING: API IN FLUX.
Definition:
TranslatorInterface.php:14
Elgg\I18n\Locale
WARNING: API IN FLUX.
Definition:
Locale.php:13
$key
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
Definition:
summary.php:55
Elgg\I18n\TranslatorInterface\translate
translate($key, array $args=[], Locale $locale=null)
Given a message key, returns a best-effort translated string.
Elgg\I18n
Definition:
ArrayMessageBundle.php:3
Generated on Tue Dec 10 2019 00:00:24 for Elgg by
1.8.11