ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 function setTranslationImportMode($a_lm, $a_lang = "")
26 {
27 if ($a_lm != null)
28 {
29 $this->transl_into = true;
30 $this->transl_into_lm = $a_lm;
31 $this->transl_lang = $a_lang;
32 }
33 else
34 {
35 $this->transl_into = false;
36 }
37 }
38
45 {
46 return $this->transl_into;
47 }
48
55 {
57 }
58
65 {
66 return $this->transl_lang;
67 }
68
69}
70
71?>
Import configuration class parent class.
Import configuration for learning modules.
getTranslationImportMode()
Get translation import mode.
setTranslationImportMode($a_lm, $a_lang="")
Set translation import mode.