ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
5 include_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 
54  function getTranslationLM()
55  {
56  return $this->transl_into_lm;
57  }
58 
64  function getTranslationLang()
65  {
66  return $this->transl_lang;
67  }
68 
69 }
70 
71 ?>
setTranslationImportMode($a_lm, $a_lang="")
Set translation import mode.
getTranslationImportMode()
Get translation import mode.
Import configuration for learning modules.
Import configuration class parent class.