You are here

function lingotek_add_phase_template in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.2 lingotek.api.inc \lingotek_add_phase_template()
  2. 7.3 lingotek.api.inc \lingotek_add_phase_template()
  3. 7.4 lingotek.api.inc \lingotek_add_phase_template()
  4. 7.5 lingotek.remote.inc \lingotek_add_phase_template()

File

./lingotek.remote.inc, line 417

Code

function lingotek_add_phase_template($translation_target_id, $phase_template_id) {
  $params = array(
    'translationTargetId' => $translation_target_id,
    'phaseTemplateId' => $phase_template_id,
  );
  LingotekApi::instance()
    ->request("applyPhaseTemplate", $params);
}