ILIAS  release_8 Revision v8.24
class.ilAsqQuestionResult.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14{
18 protected $points;
19
23 protected $correct;
24
28 public function setPoints(float $points)
29 {
30 $this->points = $points;
31 }
32
36 public function getPoints(): float
37 {
38 return $this->points;
39 }
40
44 public function setCorrect(bool $correct)
45 {
46 $this->correct = $correct;
47 }
48
52 public function isCorrect(): bool
53 {
54 return $this->correct;
55 }
56}