ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilAsqQuestionResult.php
Go to the documentation of this file.
1 <?php
2 
28 {
32  protected $points;
33 
37  protected $correct;
38 
42  public function setPoints(float $points)
43  {
44  $this->points = $points;
45  }
46 
50  public function getPoints(): float
51  {
52  return $this->points;
53  }
54 
58  public function setCorrect(bool $correct)
59  {
60  $this->correct = $correct;
61  }
62 
66  public function isCorrect(): bool
67  {
68  return $this->correct;
69  }
70 }