ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjectTranslationLanguage Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilObjectTranslationLanguage:

Public Member Functions

 __construct (string $language_code, string $title, string $description, bool $default)
 
 getLanguageCode ()
 
 setLanguageCode (string $language_code)
 
 getTitle ()
 
 setTitle (string $title)
 
 getDescription ()
 
 setDescription (string $description)
 
 isDefault ()
 
 setDefault (bool $default)
 

Protected Attributes

string $language_code
 
string $title
 
string $description
 
bool $default = false
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 21 of file class.ilObjectTranslationLanguage.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjectTranslationLanguage::__construct ( string  $language_code,
string  $title,
string  $description,
bool  $default 
)

Definition at line 28 of file class.ilObjectTranslationLanguage.php.

References $default, $description, $language_code, and $title.

29  {
30  $this->language_code = $language_code;
31  $this->title = $title;
32  $this->description = $description;
33  $this->default = $default;
34  }

Member Function Documentation

◆ getDescription()

ilObjectTranslationLanguage::getDescription ( )

Definition at line 56 of file class.ilObjectTranslationLanguage.php.

References $description.

56  : string
57  {
58  return $this->description;
59  }

◆ getLanguageCode()

ilObjectTranslationLanguage::getLanguageCode ( )

Definition at line 36 of file class.ilObjectTranslationLanguage.php.

References $language_code.

36  : string
37  {
38  return $this->language_code;
39  }

◆ getTitle()

ilObjectTranslationLanguage::getTitle ( )

Definition at line 46 of file class.ilObjectTranslationLanguage.php.

References $title.

46  : string
47  {
48  return $this->title;
49  }

◆ isDefault()

ilObjectTranslationLanguage::isDefault ( )

Definition at line 66 of file class.ilObjectTranslationLanguage.php.

References $default.

66  : bool
67  {
68  return $this->default;
69  }

◆ setDefault()

ilObjectTranslationLanguage::setDefault ( bool  $default)

Definition at line 71 of file class.ilObjectTranslationLanguage.php.

References $default.

71  : void
72  {
73  $this->default = $default;
74  }

◆ setDescription()

ilObjectTranslationLanguage::setDescription ( string  $description)

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

References $description.

61  : void
62  {
63  $this->description = $description;
64  }

◆ setLanguageCode()

ilObjectTranslationLanguage::setLanguageCode ( string  $language_code)

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

References $language_code.

41  : void
42  {
43  $this->language_code = $language_code;
44  }

◆ setTitle()

ilObjectTranslationLanguage::setTitle ( string  $title)

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

References $title.

51  : void
52  {
53  $this->title = $title;
54  }

Field Documentation

◆ $default

bool ilObjectTranslationLanguage::$default = false
protected

Definition at line 26 of file class.ilObjectTranslationLanguage.php.

Referenced by __construct(), isDefault(), and setDefault().

◆ $description

string ilObjectTranslationLanguage::$description
protected

◆ $language_code

string ilObjectTranslationLanguage::$language_code
protected

◆ $title

string ilObjectTranslationLanguage::$title
protected

Definition at line 24 of file class.ilObjectTranslationLanguage.php.

Referenced by __construct(), getTitle(), and setTitle().


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