ILIAS  release_8 Revision v8.24
class.ilObjectTranslationLanguage.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22{
23 protected string $language_code;
24 protected string $title;
25 protected string $description;
26 protected bool $default = false;
27
28 public function __construct(string $language_code, string $title, string $description, bool $default)
29 {
30 $this->language_code = $language_code;
31 $this->title = $title;
32 $this->description = $description;
33 $this->default = $default;
34 }
35
36 public function getLanguageCode(): string
37 {
39 }
40
41 public function setLanguageCode(string $language_code): void
42 {
43 $this->language_code = $language_code;
44 }
45
46 public function getTitle(): string
47 {
48 return $this->title;
49 }
50
51 public function setTitle(string $title): void
52 {
53 $this->title = $title;
54 }
55
56 public function getDescription(): string
57 {
58 return $this->description;
59 }
60
61 public function setDescription(string $description): void
62 {
63 $this->description = $description;
64 }
65
66 public function isDefault(): bool
67 {
68 return $this->default;
69 }
70
71 public function setDefault(bool $default): void
72 {
73 $this->default = $default;
74 }
75}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(string $language_code, string $title, string $description, bool $default)