You are here

function GLExchange::getProject in GlobalLink Connect for Drupal 7.7

* Find project by shortcode * *

Return value

PDProject

1 call to GLExchange::getProject()
GLExchange::getProjects in gl_ws/glc/GLExchange.php
* Get all user projects * *

File

gl_ws/glc/GLExchange.php, line 344

Class

GLExchange

Code

function getProject($projectShortCode) {
  $findProjectByShortCodeRequest = new findProjectByShortCode();
  $findProjectByShortCodeRequest->projectShortCode = $projectShortCode;
  $project = $this->projectService
    ->findProjectByShortCode($findProjectByShortCodeRequest)->return;
  return new PDProject($project);
}