protected static function LingotekConfigSet::getFullSets in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 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 242 - 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;
}