function globallink_start_submission in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.5 gl_ws/gl_ws_send_translations.inc \globallink_start_submission()
1 call to globallink_start_submission()
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;
}