ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestPassResultsSettings Class Reference
+ Collaboration diagram for ilTestPassResultsSettings:

Public Member Functions

 __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)
 
 getShowHiddenQuestions ()
 
 getShowOptionalQuestions ()
 
 getShowBestSolution ()
 
 getShowFeedback ()
 
 getQuestionTextOnly ()
 
 getShowRecapitulation ()
 

Detailed Description

Definition at line 25 of file class.ilTestPassResultsSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestPassResultsSettings::__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 
)

Definition at line 27 of file class.ilTestPassResultsSettings.php.

34  {
35  }

Member Function Documentation

◆ getQuestionTextOnly()

ilTestPassResultsSettings::getQuestionTextOnly ( )

Definition at line 57 of file class.ilTestPassResultsSettings.php.

Referenced by ilTestResultsFactory\buildPassResults().

57  : bool
58  {
59  return $this->question_text_only;
60  }
+ Here is the caller graph for this function:

◆ getShowBestSolution()

ilTestPassResultsSettings::getShowBestSolution ( )

Definition at line 47 of file class.ilTestPassResultsSettings.php.

47  : bool
48  {
49  return $this->show_best_solution;
50  }

◆ getShowFeedback()

ilTestPassResultsSettings::getShowFeedback ( )

Definition at line 52 of file class.ilTestPassResultsSettings.php.

Referenced by ilTestResultsFactory\buildPassResults().

52  : bool
53  {
54  return $this->show_feedback;
55  }
+ Here is the caller graph for this function:

◆ getShowHiddenQuestions()

ilTestPassResultsSettings::getShowHiddenQuestions ( )

Definition at line 37 of file class.ilTestPassResultsSettings.php.

Referenced by ilTestResultsFactory\buildPassResults().

37  : bool
38  {
39  return $this->show_hidden_questions;
40  }
+ Here is the caller graph for this function:

◆ getShowOptionalQuestions()

ilTestPassResultsSettings::getShowOptionalQuestions ( )

Definition at line 42 of file class.ilTestPassResultsSettings.php.

Referenced by ilTestResultsFactory\buildPassResults().

42  : bool
43  {
44  return $this->show_optional_questions;
45  }
+ Here is the caller graph for this function:

◆ getShowRecapitulation()

ilTestPassResultsSettings::getShowRecapitulation ( )

Definition at line 62 of file class.ilTestPassResultsSettings.php.

Referenced by ilTestResultsFactory\buildPassResults().

62  : bool
63  {
64  return $this->show_recapitulation;
65  }
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: