You are here

function globallink_start_submission in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.5 gl_ws/gl_ws_send_translations.inc \globallink_start_submission()
1 call to globallink_start_submission()
globallink_send_documents_for_translation_to_pd in gl_ws/gl_ws_send_translations.inc

File

gl_ws/gl_ws_send_translations.inc, line 87

Code

function globallink_start_submission($submission_service, $submission_info, $token) {
  $start_submission_request = new startSubmission();
  $start_submission_request->submissionId = $GLOBALS['g_submissionTicket'];
  $start_submission_request->submissionInfo = $submission_info;
  $start_submission_request->userId = $token;
  $start_submission_response = $submission_service
    ->startSubmission($start_submission_request);
  return $start_submission_response->return;
}