ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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  return $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 }