public function LingotekApi::getPhase in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
- 7.2 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
- 7.3 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
- 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::getPhase()
- 7.6 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 460 - 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);
}