ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilQTIAssessmentcontrol Class Reference
+ Collaboration diagram for ilQTIAssessmentcontrol:

Public Member Functions

 ilQTIAssessmentcontrol ()
 
 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.

Member Function Documentation

◆ getFeedbackswitch()

ilQTIAssessmentcontrol::getFeedbackswitch ( )

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

References $feedbackswitch.

◆ getHintswitch()

ilQTIAssessmentcontrol::getHintswitch ( )

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

References $hintswitch.

◆ getSolutionswitch()

ilQTIAssessmentcontrol::getSolutionswitch ( )

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

References $solutionswitch.

◆ getView()

ilQTIAssessmentcontrol::getView ( )

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

References $view.

◆ ilQTIAssessmentcontrol()

ilQTIAssessmentcontrol::ilQTIAssessmentcontrol ( )

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

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

◆ setFeedbackswitch()

ilQTIAssessmentcontrol::setFeedbackswitch (   $a_feedbackswitch)

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

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

◆ setHintswitch()

ilQTIAssessmentcontrol::setHintswitch (   $a_hintswitch)

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

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

◆ setSolutionswitch()

ilQTIAssessmentcontrol::setSolutionswitch (   $a_solutionswitch)

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

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

◆ setView()

ilQTIAssessmentcontrol::setView (   $a_view)

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

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

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: