Exemplo n.º 1
0
 /**
  * Expand a translated string, and escape the output to meet XHTML safety needs
  *
  * @param string $module  where is the translation for this string?
  * @param string $message what is the name of this translation?
  * @param array  $params  any parameters required by the translation
  * @return string the translated string, expanded and suitably escaped for XHTML
  */
 public static function translation($module, $message, $params = array())
 {
     return XHTML::escapeOutput(app_translation($module, $message, $params), ENT_QUOTES, 'UTF-8', false);
 }