SpecialMessageGroupStats Class Reference
[Special pages of Translate extensionStatistics]

Implements includable special page Special:MessageGroupStats which provides translation statistics for all languages for a group. More...

Inheritance diagram for SpecialMessageGroupStats:
Inheritance graph
[legend]
Collaboration diagram for SpecialMessageGroupStats:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 getDescription ()
 Overwritten from SpecialPage.
 getform ()
 Overwriten from SpecialLanguageStats.
 getTable ()
 Overwriten from SpecialLanguageStats.

Protected Member Functions

 isValidValue ($value)
 Overwritten from SpecialLanguageStats.
 invalidTarget ()
 Overwritten from SpecialLanguageStats.
 outputIntroduction ()
 Overwritten from SpecialLanguageStats.
 filterPriorityLangs (&$languages, $group, $cache)
 Filter an array of languages based on whether a priority set of languages present for the passed group.
 makeRow ($code, $cache)
 getMainColumnCell ($code, $params)
 getWorkflowStates ($field= 'tgr_lang', $filter= 'tgr_group')

Protected Attributes

 $targetValueName = array( 'group' )
 Overwritten from SpecialLanguageStats.
 $noComplete = false
 Overwritten from SpecialLanguageStats.
 $noEmpty = true
 Overwritten from SpecialLanguageStats.
 $names
 $translate

Detailed Description

Implements includable special page Special:MessageGroupStats which provides translation statistics for all languages for a group.

Definition at line 18 of file SpecialMessageGroupStats.php.


Constructor & Destructor Documentation

SpecialMessageGroupStats::__construct (  ) 

Reimplemented from SpecialLanguageStats.

Definition at line 30 of file SpecialMessageGroupStats.php.

Here is the call graph for this function:


Member Function Documentation

SpecialMessageGroupStats::filterPriorityLangs ( &$  languages,
group,
cache 
) [protected]

Filter an array of languages based on whether a priority set of languages present for the passed group.

If priority languages are present, to that list add languages with more than 0% translation.

Parameters:
$languages Array of Languages to be filtered
$group 
$cache 

Definition at line 195 of file SpecialMessageGroupStats.php.

Referenced by getTable().

Here is the call graph for this function:

SpecialMessageGroupStats::getDescription (  ) 

Overwritten from SpecialPage.

Definition at line 36 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::getform (  ) 

Overwriten from SpecialLanguageStats.

Definition at line 77 of file SpecialMessageGroupStats.php.

Here is the call graph for this function:

SpecialMessageGroupStats::getMainColumnCell ( code,
params 
) [protected]
Parameters:
$code 
$params 
Returns:
string

Definition at line 266 of file SpecialMessageGroupStats.php.

Referenced by makeRow().

Here is the call graph for this function:

SpecialMessageGroupStats::getTable (  ) 

Overwriten from SpecialLanguageStats.

Returns:
string

Reimplemented from SpecialLanguageStats.

Definition at line 145 of file SpecialMessageGroupStats.php.

Here is the call graph for this function:

SpecialMessageGroupStats::getWorkflowStates ( field = 'tgr_lang',
filter = 'tgr_group' 
) [protected]
Parameters:
string $field
string $filter
Returns:
array

Reimplemented from SpecialLanguageStats.

Definition at line 290 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::invalidTarget (  )  [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 60 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::isValidValue ( value  )  [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 41 of file SpecialMessageGroupStats.php.

Here is the call graph for this function:

SpecialMessageGroupStats::makeRow ( code,
cache 
) [protected]
Parameters:
$code 
$cache 
Returns:
string

Definition at line 218 of file SpecialMessageGroupStats.php.

Referenced by getTable().

Here is the call graph for this function:

SpecialMessageGroupStats::outputIntroduction (  )  [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 68 of file SpecialMessageGroupStats.php.

Here is the call graph for this function:


Member Data Documentation

SpecialMessageGroupStats::$names [protected]

Definition at line 26 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::$noComplete = false [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 22 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::$noEmpty = true [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 24 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::$targetValueName = array( 'group' ) [protected]

Overwritten from SpecialLanguageStats.

Reimplemented from SpecialLanguageStats.

Definition at line 20 of file SpecialMessageGroupStats.php.

SpecialMessageGroupStats::$translate [protected]

Definition at line 28 of file SpecialMessageGroupStats.php.


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