You are here

public static function LingotekSync::getConfigDocIdsFromSetIds in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getConfigDocIdsFromSetIds()
3 calls to LingotekSync::getConfigDocIdsFromSetIds()
lingotek_config_disassociate_form_submit in ./lingotek.bulk_grid.inc
lingotek_config_download_selected in ./lingotek.config.inc
lingotek_config_update_selected in ./lingotek.batch.inc

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;
}