public static function LingotekSync::getCountByStatus in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getCountByStatus()
1 call to LingotekSync::getCountByStatus()
- lingotek_get_source_language_json in ./
lingotek.dashboard.inc - Outputs the language code with page count in json format. Supplied to the dashboard. Output Format (example): {'code':'en_US','docs':'500'}
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 379 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function getCountByStatus($status) {
$count = 0;
$count += self::getNodeCountByStatus($status);
// (turned off reporting of config chunks, for now)
/*
if (variable_get('lingotek_translate_config', 0)) {
$count += self::getChunkCountByStatus($status);
}
*/
return $count;
}