Translation2::getLang()

Translation2::getLang() -- get lang info

Synopsis

require_once 'Translation2.php';

mixed Translation2::getLang ([string $langID = NULL [, string $format = 'name']])

Description

Get some extra information about the language (its full name, the localized error text, ...)

Paramètres

chaîne de caractères $langID

chaîne de caractères $format

['name', 'meta', 'error_text', 'array']

Valeur retournée

returns [string | array], depending on $format

Note

Cette fonction ne peut pas être appelée de façon statique.