public function LingotekApi::listDocumentProgress in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::listDocumentProgress()
- 7.5 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::listDocumentProgress()
- 7.6 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::listDocumentProgress()
Gets the workflow progress of the specified documents.
Parameters
int $document_id: The IDs of the Lingotek Documents to retrieve.
Return value
mixed The API response object with Lingotek Document data, or FALSE on error.
File
- lib/
Drupal/ lingotek/ LingotekApi.php, line 613 - Defines Drupal\lingotek\LingotekApi
Class
- LingotekApi
- @file Defines Drupal\lingotek\LingotekApi
Code
public function listDocumentProgress($document_ids) {
$params = array();
foreach ($document_ids as $document_id) {
$params['documentId'][] = $document_id;
}
$documents = $this
->request('listDocumentProgress', $params);
return $documents;
}