ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilTestPassResultsSettings.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  public function __construct(
28  protected bool $show_hidden_questions = false,
29  protected bool $show_optional_questions = false,
30  protected bool $show_best_solution = true,
31  protected bool $show_feedback = true,
32  protected bool $question_text_only = false,
33  protected bool $show_recapitulation = false
34  ) {
35  }
36 
37  public function getShowHiddenQuestions(): bool
38  {
39  return $this->show_hidden_questions;
40  }
41 
42  public function getShowOptionalQuestions(): bool
43  {
44  return $this->show_optional_questions;
45  }
46 
47  public function getShowBestSolution(): bool
48  {
49  return $this->show_best_solution;
50  }
51 
52  public function getShowFeedback(): bool
53  {
54  return $this->show_feedback;
55  }
56 
57  public function getQuestionTextOnly(): bool
58  {
59  return $this->question_text_only;
60  }
61 
62  public function getShowRecapitulation(): bool
63  {
64  return $this->show_recapitulation;
65  }
66 }
__construct(protected bool $show_hidden_questions=false, protected bool $show_optional_questions=false, protected bool $show_best_solution=true, protected bool $show_feedback=true, protected bool $question_text_only=false, protected bool $show_recapitulation=false)