ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Settings.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Glossary\Settings;
22 
23 class Settings
24 {
25  public function __construct(
26  protected int $id,
27  protected bool $online,
28  protected string $virtual,
29  protected bool $glo_menu_active,
30  protected string $pres_mode,
31  protected int $show_tax,
32  protected int $snippet_length,
33  protected bool $flash_active,
34  protected string $flash_mode
35  ) {
36  }
37 
38  public function getId(): int
39  {
40  return $this->id;
41  }
42 
43  public function getOnline(): bool
44  {
45  return $this->online;
46  }
47 
48  public function getVirtualMode(): string
49  {
50  return $this->virtual;
51  }
52 
53  public function getActiveGlossaryMenu(): bool
54  {
55  return $this->glo_menu_active;
56  }
57 
58 
59  public function getPresentationMode(): string
60  {
61  return $this->pres_mode;
62  }
63 
64  public function getShowTaxonomy(): int
65  {
66  return $this->show_tax;
67  }
68 
69  public function getSnippetLength(): int
70  {
71  return $this->snippet_length;
72  }
73 
74  public function getActiveFlashcards(): bool
75  {
76  return $this->flash_active;
77  }
78 
79  public function getFlashcardsMode(): string
80  {
81  return $this->flash_mode;
82  }
83 }
__construct(protected int $id, protected bool $online, protected string $virtual, protected bool $glo_menu_active, protected string $pres_mode, protected int $show_tax, protected int $snippet_length, protected bool $flash_active, protected string $flash_mode)
Definition: Settings.php:25
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23