ILIAS  release_8 Revision v8.24
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 
)

Member Function Documentation

◆ getDescription()

ilObjectTranslationLanguage::getDescription ( )

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

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

References $description.

◆ getLanguageCode()

ilObjectTranslationLanguage::getLanguageCode ( )

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

36 : string
37 {
39 }

References $language_code.

◆ getTitle()

ilObjectTranslationLanguage::getTitle ( )

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

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

References $title.

◆ isDefault()

ilObjectTranslationLanguage::isDefault ( )

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

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

References $default.

◆ setDefault()

ilObjectTranslationLanguage::setDefault ( bool  $default)

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

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

References $default.

◆ setDescription()

ilObjectTranslationLanguage::setDescription ( string  $description)

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

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

References $description.

◆ setLanguageCode()

ilObjectTranslationLanguage::setLanguageCode ( string  $language_code)

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

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

References $language_code.

◆ setTitle()

ilObjectTranslationLanguage::setTitle ( string  $title)

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

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

References $title.

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: