You are here

function GLExchange::getSubmissionName in GlobalLink Connect for Drupal 7.7

* Get Submission name for specified ticket. * *

Parameters

* $submissionTicket: * Submission ticket * @return Submission name for the specified ticket.

File

gl_ws/glc/GLExchange.php, line 413

Class

GLExchange

Code

function getSubmissionName($submissionTicket) {
  $submission = $this
    ->getSubmission($submissionTicket);
  if (isset($submission)) {
    return $submission->submissionInfo->name;
  }
  else {
    throw new Exception("Invalid submission ticket");
  }
}