ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Settings.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function __construct(
26 protected int $id,
27 protected bool $public_log,
28 protected int $schedule_type,
29 protected int $overall_limit = 0,
30 protected int $reservation_period = 0,
31 protected bool $reminder_status = false,
32 protected int $reminder_day = 1,
33 protected int $pref_deadline = 0,
34 protected int $preference_nr = 0,
35 protected bool $messages = false
36 ) {
37 }
38
39 public function getId(): int
40 {
41 return $this->id;
42 }
43
44 public function withId(int $id): self
45 {
46 $clone = clone $this;
47 $clone->id = $id;
48 return $clone;
49 }
50
51 public function getPublicLog(): bool
52 {
53 return $this->public_log;
54 }
55
56 public function getScheduleType(): int
57 {
58 return $this->schedule_type;
59 }
60
61 public function getOverallLimit(): int
62 {
63 return $this->overall_limit;
64 }
65
66 public function getReservationPeriod(): int
67 {
68 return $this->reservation_period;
69 }
70
71 public function getReminderStatus(): bool
72 {
73 return $this->reminder_status;
74 }
75
76 public function getReminderDay(): int
77 {
78 return $this->reminder_day;
79 }
80
81 public function getPrefDeadline(): int
82 {
83 return $this->pref_deadline;
84 }
85
86 public function getPreferenceNr(): int
87 {
88 return $this->preference_nr;
89 }
90
91 public function getMessages(): bool
92 {
93 return $this->messages;
94 }
95}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(protected int $id, protected bool $public_log, protected int $schedule_type, protected int $overall_limit=0, protected int $reservation_period=0, protected bool $reminder_status=false, protected int $reminder_day=1, protected int $pref_deadline=0, protected int $preference_nr=0, protected bool $messages=false)
Definition: Settings.php:25
$messages
Definition: xapiexit.php:21