public static function LingotekSync::getAllTargetStatusNotCurrent in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getAllTargetStatusNotCurrent()
- 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getAllTargetStatusNotCurrent()
- 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getAllTargetStatusNotCurrent()
- 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getAllTargetStatusNotCurrent()
2 calls to LingotekSync::getAllTargetStatusNotCurrent()
- lingotek_notifications in ./
lingotek.sync.inc - Registers the site translation notfication callback.
- lingotek_workbench_moderation_moderate in ./
lingotek.batch.inc
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 31 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function getAllTargetStatusNotCurrent($nid) {
$query = db_select('lingotek', 'l')
->fields('l', array(
'lingokey',
'lingovalue',
))
->condition('lingokey', 'target_sync_status_%', 'LIKE')
->condition('lingovalue', 'CURRENT', '!=')
->condition('nid', $nid);
$result = $query
->execute()
->fetchAll();
return $result;
}