public function LingotekApi::markPhaseComplete in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::markPhaseComplete()
- 7.3 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::markPhaseComplete()
- 7.4 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::markPhaseComplete()
- 7.5 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::markPhaseComplete()
- 7.6 lib/Drupal/lingotek/LingotekApi.php \LingotekApi::markPhaseComplete()
Marks a phase as complete.
Parameters
int $phase_id: The phase ID to be marked as complete.
Return value
bool TRUE on success, FALSE on failure.
File
- lib/
Drupal/ lingotek/ LingotekApi.php, line 764 - Defines Drupal\lingotek\LingotekApi
Class
- LingotekApi
- @file Defines Drupal\lingotek\LingotekApi
Code
public function markPhaseComplete($phase_id) {
$parameters = array(
'phaseId' => $phase_id,
);
return $this
->request('markPhaseComplete', $parameters) ? TRUE : FALSE;
}