function GLExchange::getCompletedTargetsBySubmission in GlobalLink Connect for Drupal 7.7
* Get completed targets for submission(s) * *
Parameters
* $submissionTicket: * Submission ticket or array of tickets for which completed targets are requested * @param * $maxResults * Maximum number of completed targets to return in this call * @return Array of completed PDTarget
File
- gl_ws/
glc/ GLExchange.php, line 703
Class
Code
function getCompletedTargetsBySubmission($submissionTickets, $maxResults) {
$getCompletedTargetsBySubmissionsRequest = new getCompletedTargetsBySubmissions();
$getCompletedTargetsBySubmissionsRequest->submissionTickets = is_array($submissionTickets) ? $submissionTickets : array(
$submissionTickets,
);
$getCompletedTargetsBySubmissionsRequest->maxResults = $maxResults;
$completedTargets = $this->targetService
->getCompletedTargetsBySubmissions($getCompletedTargetsBySubmissionsRequest)->return;
return $this
->_convertTargetsToInternal($completedTargets);
}