ILIAS  release_8 Revision v8.24
AssessmentControlAction.php
Go to the documentation of this file.
1<?php
2
20
29{
33 public const ACTION_PAUSE = 'pause';
34
38 public const ACTION_RESUME = 'resume';
39
43 public const ACTION_TERMINATE = 'terminate';
44
48 public const ACTION_UPDATE = 'update';
49
53 public const ACTION_FLAG = 'flag';
54
60 public ?int $extraTime = null;
61
67 public ?string $code = null;
68
74 public ?string $message = null;
75
81 private ?string $action = null;
82
88 private ?int $date = null;
89
95 private ?float $severity = null;
96
103 public function __construct(string $action, int $date, float $severity)
104 {
105 $this->action = $action;
106 $this->date = $date;
107 $this->severity = $severity;
108 }
109
115 public function getAction(): ?string
116 {
117 return $this->action;
118 }
119
125 public function getDate(): ?int
126 {
127 return $this->date;
128 }
129
135 public function getSeverity(): ?float
136 {
137 return $this->severity;
138 }
139}
Class to represent an assessment control action.
__construct(string $action, int $date, float $severity)
Class constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: AccessToken.php:19