ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilMediaPoolImportConfig.php
Go to the documentation of this file.
1<?php
2
25{
26 protected bool $transl_into = false;
28 protected string $transl_lang = "";
29
30 public function setTranslationImportMode(
31 ?ilObjMediaPool $a_mep,
32 string $a_lang = ""
33 ): void {
34 if ($a_mep !== null) {
35 $this->transl_into = true;
36 $this->transl_into_mep = $a_mep;
37 $this->transl_lang = $a_lang;
38 } else {
39 $this->transl_into = false;
40 }
41 }
42
43 public function getTranslationImportMode(): bool
44 {
45 return $this->transl_into;
46 }
47
49 {
50 return $this->transl_into_mep;
51 }
52
53 public function getTranslationLang(): string
54 {
55 return $this->transl_lang;
56 }
57}
Import configuration class parent class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setTranslationImportMode(?ilObjMediaPool $a_mep, string $a_lang="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!file_exists('../ilias.ini.php'))