You are here

function globallink_create_submission_info 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_create_submission_info()
1 call to globallink_create_submission_info()
globallink_send_documents_for_translation_to_pd in gl_ws/gl_ws_send_translations.inc

File

gl_ws/gl_ws_send_translations.inc, line 99

Code

function globallink_create_submission_info($project_ticket, $client_identifier, $submitter) {
  $metadata = new Metadata();
  $metadata->key = 'drupalUser';
  $metadata->value = $submitter;
  $submission_info = new SubmissionInfo();
  $submission_info->clientIdentifier = $client_identifier;
  $submission_info->projectTicket = $project_ticket;
  $submission_info->metadata = $metadata;
  return $submission_info;
}