ILIAS  release_8 Revision v8.24
ilQTIAssessmentcontrol Class Reference
+ Collaboration diagram for ilQTIAssessmentcontrol:

Public Member Functions

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

Data Fields

string $hintswitch = ""
 
string $solutionswitch = ""
 
string $view = "All"
 
string $feedbackswitch = ""
 

Detailed Description

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

Member Function Documentation

◆ getFeedbackswitch()

ilQTIAssessmentcontrol::getFeedbackswitch ( )

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

87 : string
88 {
90 }

References $feedbackswitch.

◆ getHintswitch()

ilQTIAssessmentcontrol::getHintswitch ( )

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

67 : string
68 {
69 return $this->hintswitch;
70 }

References $hintswitch.

◆ getSolutionswitch()

ilQTIAssessmentcontrol::getSolutionswitch ( )

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

77 : string
78 {
80 }

References $solutionswitch.

◆ getView()

ilQTIAssessmentcontrol::getView ( )

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

57 : string
58 {
59 return $this->view;
60 }

References $view.

Referenced by ilQTIAssessmentcontrolTest\testGetView().

+ Here is the caller graph for this function:

◆ setFeedbackswitch()

ilQTIAssessmentcontrol::setFeedbackswitch ( string  $a_feedbackswitch)

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

82 : void
83 {
84 $this->feedbackswitch = 'No' === $a_feedbackswitch ? 'No' : 'Yes';
85 }

◆ setHintswitch()

ilQTIAssessmentcontrol::setHintswitch ( string  $a_hintswitch)

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

62 : void
63 {
64 $this->hintswitch = 'No' === $a_hintswitch ? 'No' : 'Yes';
65 }

◆ setSolutionswitch()

ilQTIAssessmentcontrol::setSolutionswitch ( string  $a_solutionswitch)

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

72 : void
73 {
74 $this->solutionswitch = 'No' === $a_solutionswitch ? 'No' : 'Yes';
75 }

◆ setView()

ilQTIAssessmentcontrol::setView ( string  $a_view)

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

37 : void
38 {
39 switch ($a_view) {
40 case "Administrator":
41 case "AdminAuthority":
42 case "Assessor":
43 case "Author":
44 case "Candidate":
45 case "InvigilatorProctor":
46 case "Psychometrician":
47 case "Scorer":
48 case "Tutor":
49 $this->view = $a_view;
50 break;
51 default:
52 $this->view = "All";
53 break;
54 }
55 }

Field Documentation

◆ $feedbackswitch

string ilQTIAssessmentcontrol::$feedbackswitch = ""

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

Referenced by getFeedbackswitch().

◆ $hintswitch

string ilQTIAssessmentcontrol::$hintswitch = ""

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

Referenced by getHintswitch().

◆ $solutionswitch

string ilQTIAssessmentcontrol::$solutionswitch = ""

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

Referenced by getSolutionswitch().

◆ $view

string ilQTIAssessmentcontrol::$view = "All"

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

Referenced by getView().


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