Elgg  Version 3.0
NullTranslator.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\I18n;
4 
16 final class NullTranslator extends Translator {
17 
21  public function translate($key, $args = [], $lang = '') {
22  return $key;
23  }
24 }
$lang
Definition: html.php:13
$args
Some servers don&#39;t allow PHP to check the rewrite, so try via AJAX.
WARNING: API IN FLUX.
translate($key, $args=[], $lang= '')
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
Definition: summary.php:55