TranslationStats Class Reference
[Statistics]

Contains methods that provide statistics for message groups. More...

List of all members.

Static Public Member Functions

static getPercentageTranslated ($group, $languages, $threshold=false, $simple=false)
 Returns translated percentage for message group in given languages.

Detailed Description

Contains methods that provide statistics for message groups.

Definition at line 17 of file TranslationStats.php.


Member Function Documentation

static TranslationStats::getPercentageTranslated ( group,
languages,
threshold = false,
simple = false 
) [static]

Returns translated percentage for message group in given languages.

Parameters:
$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
Returns:
  Array   Array of key value pairs code (string)/percentage (float) or array of codes, depending on $simple

Definition at line 31 of file TranslationStats.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:56 2013 for MediaWiki Translate Extension by  doxygen 1.6.3