Contains methods that provide statistics for message groups. More...
Static Public Member Functions | |
static | getPercentageTranslated ($group, $languages, $threshold=false, $simple=false) |
Returns translated percentage for message group in given languages. |
Contains methods that provide statistics for message groups.
Definition at line 17 of file TranslationStats.php.
static TranslationStats::getPercentageTranslated | ( | $ | group, | |
$ | languages, | |||
$ | threshold = false , |
|||
$ | simple = false | |||
) | [static] |
Returns translated percentage for message group in given languages.
$group | String Unique key identifying the group | |
$languages | Array List of language codes | |
bool|int | $threshold Integer Minimum required percentage translated to return. Other given language codes will not be returned. | |
$simple | Boolean Return only codes or code/pecentage pairs |
Definition at line 31 of file TranslationStats.php.