FusionDirectory
|
This class contains all the function needed to manage languages. More...
Static Public Member Functions | |
static | init ($lang=NULL) |
Initialize language configuration. More... | |
static | detect () |
Determine which language to show to the user. More... | |
static | isAvailable (string $lang) |
Checks if a locale is available. More... | |
static | getList ($ownLanguage=FALSE) |
Get the language for the user connecting. More... | |
static | isRTL ($lang) |
Returns TRUE if $lang is a right to left language. | |
This class contains all the function needed to manage languages.
Definition at line 30 of file class_Language.inc.
|
static |
Determine which language to show to the user.
Determines which language should be used to present fusiondirectory content to the user. It does so by looking at several possibilites and returning the first setting that can be found.
Definition at line 98 of file class_Language.inc.
References get_userinfo().
|
static |
Get the language for the user connecting.
boolean | $ownLanguage | Should language names be stated in their own language as well |
Definition at line 159 of file class_Language.inc.
|
static |
Initialize language configuration.
string | $lang | Language locale to use, defaults to self::detect() |
Definition at line 37 of file class_Language.inc.
Referenced by config\set_current().
|
static |
Checks if a locale is available.
string | $lang | Language locale to use |
Definition at line 135 of file class_Language.inc.