ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Test\Results\Presentation\Settings Class Reference
+ Collaboration diagram for ILIAS\Test\Results\Presentation\Settings:

Public Member Functions

 __construct (private int $test_obj_id, private bool $show_hidden_questions=false, private bool $show_optional_questions=false, private bool $show_best_solution=true, private bool $show_feedback=true, private bool $question_text_only=false, private bool $show_recapitulation=false)
 
 getTestObjId ()
 
 getShowHiddenQuestions ()
 
 getShowOptionalQuestions ()
 
 getShowBestSolution ()
 
 getShowFeedback ()
 
 getQuestionTextOnly ()
 
 getShowRecapitulation ()
 

Detailed Description

Definition at line 23 of file Settings.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Results\Presentation\Settings::__construct ( private int  $test_obj_id,
private bool  $show_hidden_questions = false,
private bool  $show_optional_questions = false,
private bool  $show_best_solution = true,
private bool  $show_feedback = true,
private bool  $question_text_only = false,
private bool  $show_recapitulation = false 
)

Definition at line 25 of file Settings.php.

33  {
34  }

Member Function Documentation

◆ getQuestionTextOnly()

ILIAS\Test\Results\Presentation\Settings::getQuestionTextOnly ( )

Definition at line 61 of file Settings.php.

61  : bool
62  {
63  return $this->question_text_only;
64  }

◆ getShowBestSolution()

ILIAS\Test\Results\Presentation\Settings::getShowBestSolution ( )

Definition at line 51 of file Settings.php.

51  : bool
52  {
53  return $this->show_best_solution;
54  }

◆ getShowFeedback()

ILIAS\Test\Results\Presentation\Settings::getShowFeedback ( )

Definition at line 56 of file Settings.php.

56  : bool
57  {
58  return $this->show_feedback;
59  }

◆ getShowHiddenQuestions()

ILIAS\Test\Results\Presentation\Settings::getShowHiddenQuestions ( )

Definition at line 41 of file Settings.php.

41  : bool
42  {
43  return $this->show_hidden_questions;
44  }

◆ getShowOptionalQuestions()

ILIAS\Test\Results\Presentation\Settings::getShowOptionalQuestions ( )

Definition at line 46 of file Settings.php.

46  : bool
47  {
48  return $this->show_optional_questions;
49  }

◆ getShowRecapitulation()

ILIAS\Test\Results\Presentation\Settings::getShowRecapitulation ( )

Definition at line 66 of file Settings.php.

66  : bool
67  {
68  return $this->show_recapitulation;
69  }

◆ getTestObjId()

ILIAS\Test\Results\Presentation\Settings::getTestObjId ( )

Definition at line 36 of file Settings.php.

36  : int
37  {
38  $this->test_obj_id;
39  }

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