You are here

public function LingotekApi::getPhase in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
  2. 7.2 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
  3. 7.3 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
  4. 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
  5. 7.5 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()

Gets data for a specific Workflow Phase.

Parameters

int $phase_id: The ID of the phase to retrieve.

Return value

mixed The API response object, or FALSE on error.

File

lib/Drupal/lingotek/LingotekApi.php, line 464
Defines Drupal\lingotek\LingotekApi

Class

LingotekApi
@file Defines Drupal\lingotek\LingotekApi

Code

public function getPhase($phase_id) {
  $params = array(
    'phaseId' => $phase_id,
  );
  return $this
    ->request('getPhase', $params);
}