MagicSmoke  $VERSION$
language_manager.php File Reference

Classes

class  LanguageManager
 

Functions

 i18n ($key)
 function to replace gettext More...
 
 string_format ($string, $array)
 replaces each {number} in a string with its equivalent in the array {1} => array[0] More...
 

Variables

const COOKIE_LANGUAGE "ms_lang"
 
 return
 

Function Documentation

i18n (   $key)

function to replace gettext

References LanguageManager\singleton().

string_format (   $string,
  $array 
)

replaces each {number} in a string with its equivalent in the array {1} => array[0]

References $i.

Variable Documentation

const COOKIE_LANGUAGE "ms_lang"
return