original_string: 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 );
  	}
code: 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 );
  	}
code_tokens: 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 ) ; }
docstring: Get completed targets for all projects
  
  @param
  $maxResults
  Maximum number of completed targets to return in this call
  @return Array of completed PDTarget
docstring_tokens: Get completed targets for all projects