You are here

public static function LingotekConfigSet::getAllDocumentIds in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getAllDocumentIds()

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1312
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();
}