ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilLearningModuleImportConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once("./Services/Export/classes/class.ilImportConfig.php");
14{
15 protected $transl_into = false;
16 protected $transl_into_lm = null;
17 protected $transl_lang = "";
18
25 public function setTranslationImportMode($a_lm, $a_lang = "")
26 {
27 if ($a_lm != null) {
28 $this->transl_into = true;
29 $this->transl_into_lm = $a_lm;
30 $this->transl_lang = $a_lang;
31 } else {
32 $this->transl_into = false;
33 }
34 }
35
41 public function getTranslationImportMode()
42 {
43 return $this->transl_into;
44 }
45
51 public function getTranslationLM()
52 {
54 }
55
61 public function getTranslationLang()
62 {
63 return $this->transl_lang;
64 }
65}
An exception for terminatinating execution or to throw for unit testing.
Import configuration class parent class.
Import configuration for learning modules.
getTranslationImportMode()
Get translation import mode.
setTranslationImportMode($a_lm, $a_lang="")
Set translation import mode.