ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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  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  {
53  return $this->transl_into_lm;
54  }
55 
61  public function getTranslationLang()
62  {
63  return $this->transl_lang;
64  }
65 }
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.