private function GLExchange::getSubmission in GlobalLink Connect for Drupal 7.7
3 calls to GLExchange::getSubmission()
- GLExchange::getSubmissionId in gl_ws/
glc/ GLExchange.php - * Get Submission ID for specified ticket. * *
- GLExchange::getSubmissionName in gl_ws/
glc/ GLExchange.php - * Get Submission name for specified ticket. * *
- GLExchange::getSubmissionStatus in gl_ws/
glc/ GLExchange.php - * Get Submission Status for specified ticket. * *
File
- gl_ws/
glc/ GLExchange.php, line 379
Class
Code
private function getSubmission($submissionTicket) {
$findSubmissionByTicketRequest = new findByTicket();
$findSubmissionByTicketRequest->ticket = $submissionTicket;
$submission = $this->submissionService
->findByTicket($findSubmissionByTicketRequest)->return;
if (isset($submission)) {
return $submission;
}
else {
throw new Exception("Invalid submission ticket");
}
}