protected static function LingotekConfigSet::getFullSets in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getFullSets()
1 call to LingotekConfigSet::getFullSets()
- LingotekConfigSet::getOpenSet in lib/
Drupal/ lingotek/ LingotekConfigSet.php
File
- lib/
Drupal/ lingotek/ LingotekConfigSet.php, line 280 - Defines LingotekConfigSet.
Class
- LingotekConfigSet
- A class wrapper for Lingotek-specific behavior on ConfigSets.
Code
protected static function getFullSets() {
$query = db_query('SELECT set_id, COUNT(*) c FROM {lingotek_config_map} GROUP BY set_id HAVING c >= :max_size', array(
':max_size' => LINGOTEK_CONFIG_SET_SIZE,
));
$full_sets = $query
->fetchCol();
return $full_sets;
}