ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Assignment.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
28  protected int $order_nr;
29  protected int $type;
30  protected string $instructions;
31  protected bool $mandatory;
32  protected int $deadline_mode;
33  protected int $deadline;
34  protected int $deadline2;
35  protected int $relative_deadline;
37  protected int $id;
38  protected int $exc_id;
39  protected string $title;
40 
41  public function __construct(
42  int $id,
43  int $exc_id,
44  string $title,
45  int $order_nr,
46  int $type,
47  string $instructions,
48  bool $mandatory,
49  int $deadline_mode,
50  int $deadline,
51  int $deadline2,
52  int $relative_deadline,
53  int $rel_deadline_last_submission
54  ) {
55  $this->id = $id;
56  $this->exc_id = $exc_id;
57  $this->title = $title;
58  $this->order_nr = $order_nr;
59  $this->type = $type;
60  $this->instructions = $instructions;
61  $this->mandatory = $mandatory;
62  $this->deadline_mode = $deadline_mode;
63  $this->deadline = $deadline;
64  $this->deadline2 = $deadline2;
65  $this->relative_deadline = $relative_deadline;
66  $this->rel_deadline_last_submission = $rel_deadline_last_submission;
67  }
68 
69  public function getId(): int
70  {
71  return $this->id;
72  }
73  public function getExcId(): int
74  {
75  return $this->exc_id;
76  }
77  public function getTitle(): string
78  {
79  return $this->title;
80  }
81  public function getOrderNr(): int
82  {
83  return $this->order_nr;
84  }
85 
86  public function getType(): int
87  {
88  return $this->type;
89  }
90 
91  public function getInstructions(): string
92  {
93  return $this->instructions;
94  }
95  public function getMandatory(): bool
96  {
97  return $this->mandatory;
98  }
99  public function getDeadlineMode(): int
100  {
101  return $this->deadline_mode;
102  }
103  public function getDeadline(): int
104  {
105  return $this->deadline;
106  }
107  public function getDeadline2(): int
108  {
109  return $this->deadline2;
110  }
111  public function getRelativeDeadline(): int
112  {
114  }
116  {
118  }
119 
120 }
__construct(int $id, int $exc_id, string $title, int $order_nr, int $type, string $instructions, bool $mandatory, int $deadline_mode, int $deadline, int $deadline2, int $relative_deadline, int $rel_deadline_last_submission)
Definition: Assignment.php:41