ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilSurveyEvaluationResultsAnswer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
26 public int $active_id;
27 public float $value;
28 public string $text;
29 public ?int $tstamp;
30
31 public function __construct(
32 int $a_active_id,
33 float $a_value,
34 string $a_text,
35 ?int $a_tstamp
36 ) {
37 $this->active_id = $a_active_id;
38 $this->value = $a_value;
39 $this->text = trim($a_text);
40 $this->tstamp = $a_tstamp;
41 }
42}
__construct(int $a_active_id, float $a_value, string $a_text, ?int $a_tstamp)