protected static function LingotekConfigSet::getLidsForTextgroup in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getLidsForTextgroup()
File
- lib/
Drupal/ lingotek/ LingotekConfigSet.php, line 462 - Defines LingotekConfigSet.
Class
- LingotekConfigSet
- A class wrapper for Lingotek-specific behavior on ConfigSets.
Code
protected static function getLidsForTextgroup($textgroup) {
$query = db_select('locales_source', 'ls')
->fields('ls', array(
'lid',
))
->condition('textgroup', $textgroup)
->execute();
$lids = $query
->fetchCol();
return $lids;
}