ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilLearningModuleImportConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
13{
14 protected $transl_into = false;
15 protected $transl_into_lm = null;
16 protected $transl_lang = "";
17
24 public function setTranslationImportMode($a_lm, $a_lang = "")
25 {
26 if ($a_lm != null) {
27 $this->transl_into = true;
28 $this->transl_into_lm = $a_lm;
29 $this->transl_lang = $a_lang;
30 } else {
31 $this->transl_into = false;
32 }
33 }
34
40 public function getTranslationImportMode()
41 {
42 return $this->transl_into;
43 }
44
50 public function getTranslationLM()
51 {
53 }
54
60 public function getTranslationLang()
61 {
62 return $this->transl_lang;
63 }
64}
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.