ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
class.ilMediaPoolImportConfig.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 ?>
getTranslationLang()
Get translation language.
setTranslationImportMode($a_lm, $a_lang="")
Set translation import mode.
Import configuration class parent class.
Import configuration for media pools.
getTranslationImportMode()
Get translation import mode.