You are here

public static function LingotekConfigSet::getAllDocumentIds in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getAllDocumentIds()
1 call to LingotekConfigSet::getAllDocumentIds()
lingotek_admin_additional_translation_settings_form in ./lingotek.admin.inc
Additional translation form

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1187
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public static function getAllDocumentIds() {
  $result = db_select('lingotek_config_metadata', 'c')
    ->fields('c', array(
    'value',
  ))
    ->condition('c.config_key', 'document_id')
    ->execute();
  return $result
    ->fetchCol();
}