ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilLearningModuleImportConfig Class Reference

Import configuration for learning modules. More...

+ Inheritance diagram for ilLearningModuleImportConfig:
+ Collaboration diagram for ilLearningModuleImportConfig:

Public Member Functions

 setTranslationImportMode ($a_lm, $a_lang="")
 Set translation import mode. More...
 
 getTranslationImportMode ()
 Get translation import mode. More...
 
 getTranslationLM ()
 Get translation lm. More...
 
 getTranslationLang ()
 Get translation language. More...
 

Protected Attributes

 $transl_into = false
 
 $transl_into_lm = null
 
 $transl_lang = ""
 

Detailed Description

Import configuration for learning modules.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 13 of file class.ilLearningModuleImportConfig.php.

Member Function Documentation

◆ getTranslationImportMode()

ilLearningModuleImportConfig::getTranslationImportMode ( )

Get translation import mode.

Returns
bool check if translation import is activated

Definition at line 41 of file class.ilLearningModuleImportConfig.php.

References $transl_into.

◆ getTranslationLang()

ilLearningModuleImportConfig::getTranslationLang ( )

Get translation language.

Returns
string language

Definition at line 61 of file class.ilLearningModuleImportConfig.php.

References $transl_lang.

◆ getTranslationLM()

ilLearningModuleImportConfig::getTranslationLM ( )

Get translation lm.

Returns
ilObjLearningModule learning module

Definition at line 51 of file class.ilLearningModuleImportConfig.php.

References $transl_into_lm.

◆ setTranslationImportMode()

ilLearningModuleImportConfig::setTranslationImportMode (   $a_lm,
  $a_lang = "" 
)

Set translation import mode.

Parameters
ilObjLearningModule$a_lmlearning module
string$a_langlanguage

Definition at line 25 of file class.ilLearningModuleImportConfig.php.

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  }

Field Documentation

◆ $transl_into

ilLearningModuleImportConfig::$transl_into = false
protected

Definition at line 15 of file class.ilLearningModuleImportConfig.php.

Referenced by getTranslationImportMode().

◆ $transl_into_lm

ilLearningModuleImportConfig::$transl_into_lm = null
protected

Definition at line 16 of file class.ilLearningModuleImportConfig.php.

Referenced by getTranslationLM().

◆ $transl_lang

ilLearningModuleImportConfig::$transl_lang = ""
protected

Definition at line 17 of file class.ilLearningModuleImportConfig.php.

Referenced by getTranslationLang().


The documentation for this class was generated from the following file: