function GLExchange::getCancelledTargetsByProjects in GlobalLink Connect for Drupal 7.7
* Get cancelled targets for project(s) * *
Parameters
* $projectTickets: * PDProject tickets or array of PDProject tickets for which cancelled targets are requested * @param * $maxResults * Maximum number of completed targets to return in this call * @return Array of cancelled PDTarget
File
- gl_ws/
glc/ GLExchange.php, line 618
Class
Code
function getCancelledTargetsByProjects($projectTickets, $maxResults) {
$getCancelledTargetsByProjectsRequest = new getCancelledTargetsByProjects();
$getCancelledTargetsByProjectsRequest->projectTickets = is_array($projectTickets) ? $projectTickets : array(
$projectTickets,
);
$getCancelledTargetsByProjectsRequest->maxResults = $maxResults;
$cancelledTargets = $this->targetService
->getCancelledTargetsByProjects($getCancelledTargetsByProjectsRequest)->return;
return $this
->_convertTargetsToInternal($cancelledTargets);
}