ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilAsqQuestionResult.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
13{
17 protected $points;
18
22 protected $correct;
23
27 public function setPoints(float $points)
28 {
29 $this->points = $points;
30 }
31
35 public function getPoints() : float
36 {
37 $this->points
38 }
39
43 public function setCorrect(bool $correct)
44 {
45 $this->correct = $correct;
46 }
47
51 public function isCorrect() : bool
52 {
53 return $this->correct;
54 }
55}
An exception for terminatinating execution or to throw for unit testing.