Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
NullTranslator.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\I18n;
3 
4 
17 final class NullTranslator extends Translator {
19  public function translate($key, $args = array(), $lang = '') {
20  return $key;
21  }
22 }
$lang
Definition: html.php:12
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
WARNING: API IN FLUX.
translate($key, $args=array(), $lang= '')
WARNING: API IN FLUX.
Definition: Translator.php:11
$key
Definition: summary.php:34