ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilQTIAssessmentcontrol Class Reference
+ Collaboration diagram for ilQTIAssessmentcontrol:

Public Member Functions

 __construct ()
 
 setView ($a_view)
 
 getView ()
 
 setHintswitch ($a_hintswitch)
 
 getHintswitch ()
 
 setSolutionswitch ($a_solutionswitch)
 
 getSolutionswitch ()
 
 setFeedbackswitch ($a_feedbackswitch)
 
 getFeedbackswitch ()
 

Data Fields

 $hintswitch
 
 $solutionswitch
 
 $view
 
 $feedbackswitch
 

Detailed Description

Definition at line 32 of file class.ilQTIAssessmentcontrol.php.

Constructor & Destructor Documentation

◆ __construct()

ilQTIAssessmentcontrol::__construct ( )

Definition at line 39 of file class.ilQTIAssessmentcontrol.php.

40  {
41  $this->hintswitch = "";
42  $this->solutionswitch = "";
43  $this->view = "All";
44  $this->feedbackswitch = "";
45  }

Member Function Documentation

◆ getFeedbackswitch()

ilQTIAssessmentcontrol::getFeedbackswitch ( )

Definition at line 121 of file class.ilQTIAssessmentcontrol.php.

References $feedbackswitch.

◆ getHintswitch()

ilQTIAssessmentcontrol::getHintswitch ( )

Definition at line 85 of file class.ilQTIAssessmentcontrol.php.

References $hintswitch.

◆ getSolutionswitch()

ilQTIAssessmentcontrol::getSolutionswitch ( )

Definition at line 103 of file class.ilQTIAssessmentcontrol.php.

References $solutionswitch.

◆ getView()

ilQTIAssessmentcontrol::getView ( )

Definition at line 67 of file class.ilQTIAssessmentcontrol.php.

References $view.

◆ setFeedbackswitch()

ilQTIAssessmentcontrol::setFeedbackswitch (   $a_feedbackswitch)

Definition at line 108 of file class.ilQTIAssessmentcontrol.php.

109  {
110  switch ($a_feedbackswitch) {
111  case "Yes":
112  case "No":
113  $this->feedbackswitch = $a_feedbackswitch;
114  break;
115  default:
116  $this->feedbackswitch = "Yes";
117  break;
118  }
119  }

◆ setHintswitch()

ilQTIAssessmentcontrol::setHintswitch (   $a_hintswitch)

Definition at line 72 of file class.ilQTIAssessmentcontrol.php.

73  {
74  switch ($a_hintswitch) {
75  case "Yes":
76  case "No":
77  $this->hintswitch = $a_hintswitch;
78  break;
79  default:
80  $this->hintswitch = "Yes";
81  break;
82  }
83  }

◆ setSolutionswitch()

ilQTIAssessmentcontrol::setSolutionswitch (   $a_solutionswitch)

Definition at line 90 of file class.ilQTIAssessmentcontrol.php.

91  {
92  switch ($a_solutionswitch) {
93  case "Yes":
94  case "No":
95  $this->solutionswitch = $a_solutionswitch;
96  break;
97  default:
98  $this->solutionswitch = "Yes";
99  break;
100  }
101  }

◆ setView()

ilQTIAssessmentcontrol::setView (   $a_view)

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

48  {
49  switch ($a_view) {
50  case "Administrator":
51  case "AdminAuthority":
52  case "Assessor":
53  case "Author":
54  case "Candidate":
55  case "InvigilatorProctor":
56  case "Psychometrician":
57  case "Scorer":
58  case "Tutor":
59  $this->view = $a_view;
60  break;
61  default:
62  $this->view = "All";
63  break;
64  }
65  }

Field Documentation

◆ $feedbackswitch

ilQTIAssessmentcontrol::$feedbackswitch

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

Referenced by getFeedbackswitch().

◆ $hintswitch

ilQTIAssessmentcontrol::$hintswitch

Definition at line 34 of file class.ilQTIAssessmentcontrol.php.

Referenced by getHintswitch().

◆ $solutionswitch

ilQTIAssessmentcontrol::$solutionswitch

Definition at line 35 of file class.ilQTIAssessmentcontrol.php.

Referenced by getSolutionswitch().

◆ $view

ilQTIAssessmentcontrol::$view

Definition at line 36 of file class.ilQTIAssessmentcontrol.php.

Referenced by getView().


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