ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
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\Wiki\Settings;
22 
23 class Settings
24 {
25  public function __construct(
26  protected int $id,
27  protected string $startpage,
28  protected string $short_title,
29  protected bool $rating_overall,
30  protected bool $rating,
31  protected bool $rating_as_block,
32  protected bool $rating_for_new_pages,
33  protected bool $rating_categories,
34  protected bool $public_notes,
35  protected string $introduction,
36  protected bool $page_toc,
37  protected bool $link_metadata_values,
38  protected bool $empty_page_template
39  ) {
40  }
41 
42  public function getId(): int
43  {
44  return $this->id;
45  }
46 
47  public function getStartPage(): string
48  {
49  return $this->startpage;
50  }
51 
52  public function getShortTitle(): string
53  {
54  return $this->short_title;
55  }
56 
57  public function getRatingOverall(): bool
58  {
59  return $this->rating_overall;
60  }
61 
62  public function getRating(): bool
63  {
64  return $this->rating;
65  }
66 
67  public function getRatingAsBlock(): bool
68  {
69  return $this->rating_as_block;
70  }
71 
72  public function getRatingForNewPages(): bool
73  {
74  return $this->rating_for_new_pages;
75  }
76 
77  public function getRatingCategories(): bool
78  {
79  return $this->rating_categories;
80  }
81 
82  public function getPublicNotes(): bool
83  {
84  return $this->public_notes;
85  }
86 
87  public function getIntroduction(): string
88  {
89  return $this->introduction;
90  }
91 
92  public function getPageToc(): bool
93  {
94  return $this->page_toc;
95  }
96 
97  public function getLinkMetadataValues(): bool
98  {
99  return $this->link_metadata_values;
100  }
101 
102  public function getEmptyPageTemplate(): bool
103  {
104  return $this->empty_page_template;
105  }
106 }
__construct(protected int $id, protected string $startpage, protected string $short_title, protected bool $rating_overall, protected bool $rating, protected bool $rating_as_block, protected bool $rating_for_new_pages, protected bool $rating_categories, protected bool $public_notes, protected string $introduction, protected bool $page_toc, protected bool $link_metadata_values, protected bool $empty_page_template)
Definition: Settings.php:25
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23