public static function LingotekSync::getConfigDocIdsFromSetIds in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getConfigDocIdsFromSetIds()
3 calls to LingotekSync::getConfigDocIdsFromSetIds()
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 752 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function getConfigDocIdsFromSetIds($sids) {
$query = db_select('lingotek_config_metadata', 'l');
$query
->addField('l', 'value');
$query
->condition('id', $sids, 'IN');
$query
->condition('config_key', 'document_id');
$doc_ids = $query
->execute()
->fetchCol();
return $doc_ids;
}