You are here

function lingotek_get_xliff in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 6 lingotek.api.inc \lingotek_get_xliff()
  2. 7.2 lingotek.api.inc \lingotek_get_xliff()
  3. 7.3 lingotek.api.inc \lingotek_get_xliff()
  4. 7.4 lingotek.api.inc \lingotek_get_xliff()
  5. 7.6 lingotek.remote.inc \lingotek_get_xliff()

File

./lingotek.remote.inc, line 666

Code

function lingotek_get_xliff($doc_id) {
  global $_lingotek_client;
  $xliff_text = "";
  $params = array(
    'documentId' => $doc_id,
  );
  return $_lingotek_client
    ->downloadTriggered("downloadDocumentAsXliff", $params);
}