function getCompletedTargets($maxResults) {
		$projects = $this->getProjects ();
		$tickets = array ();
		$i = 0;
		foreach ( $projects as $project ) {
			$tickets [$i ++] = $project->ticket;
		}
		
		$getCompletedTargetsByProjectsRequest = new getCompletedTargetsByProjects ();
		
		$getCompletedTargetsByProjectsRequest->projectTickets = $tickets;
		$getCompletedTargetsByProjectsRequest->maxResults = $maxResults;
		
		$completedTargets = $this->targetService->getCompletedTargetsByProjects ( $getCompletedTargetsByProjectsRequest )->return;
		
		return $this->_convertTargetsToInternal ( $completedTargets );
	}
function getCompletedTargets($maxResults) {
		$projects = $this->getProjects ();
		$tickets = array ();
		$i = 0;
		foreach ( $projects as $project ) {
			$tickets [$i ++] = $project->ticket;
		}
		
		$getCompletedTargetsByProjectsRequest = new getCompletedTargetsByProjects ();
		
		$getCompletedTargetsByProjectsRequest->projectTickets = $tickets;
		$getCompletedTargetsByProjectsRequest->maxResults = $maxResults;
		
		$completedTargets = $this->targetService->getCompletedTargetsByProjects ( $getCompletedTargetsByProjectsRequest )->return;
		
		return $this->_convertTargetsToInternal ( $completedTargets );
	}
function getCompletedTargets ( $ maxResults ) { $ projects = $ this -> getProjects ( ) ; $ tickets = array ( ) ; $ i = 0 ; foreach ( $ projects as $ project ) { $ tickets [ $ i ++ ] = $ project -> ticket ; } $ getCompletedTargetsByProjectsRequest = new getCompletedTargetsByProjects ( ) ; $ getCompletedTargetsByProjectsRequest -> projectTickets = $ tickets ; $ getCompletedTargetsByProjectsRequest -> maxResults = $ maxResults ; $ completedTargets = $ this -> targetService -> getCompletedTargetsByProjects ( $ getCompletedTargetsByProjectsRequest ) -> return ; return $ this -> _convertTargetsToInternal ( $ completedTargets ) ; }
Get completed targets for all projects

@param
$maxResults
Maximum number of completed targets to return in this call
@return Array of completed PDTarget
Get completed targets for all projects