You are here

private function GLExchange::_createWorkflowRequest in GlobalLink Connect for Drupal 7.7

2 calls to GLExchange::_createWorkflowRequest()
GLExchange::downloadTranslationKit in gl_ws/glc/GLExchange.php
GLExchange::getPreliminaryTargets in gl_ws/glc/GLExchange.php

File

gl_ws/glc/GLExchange.php, line 172

Class

GLExchange

Code

private function _createWorkflowRequest($submissionWorkflowInfo) {
  $workflowRequest = new WorkflowRequest();
  $workflowRequest->submissionTicket = $submissionWorkflowInfo->submissionTicket;
  $workflowRequest->phaseName = $submissionWorkflowInfo->phaseName;
  $workflowRequest->batchWorkflowInfos = $submissionWorkflowInfo->batchWorkflowInfos;
  $workflowRequest->languageWorkflowInfos = $submissionWorkflowInfo->languageWorkflowInfos;
  $workflowRequest->targetWorkflowInfos = $submissionWorkflowInfo->targetWorkflowInfos;
  return $workflowRequest;
}