ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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 29 of file class.ilQTIAssessmentcontrol.php.

Member Function Documentation

◆ getFeedbackswitch()

ilQTIAssessmentcontrol::getFeedbackswitch ( )

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

References $feedbackswitch.

86  : string
87  {
88  return $this->feedbackswitch;
89  }

◆ getHintswitch()

ilQTIAssessmentcontrol::getHintswitch ( )

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

References $hintswitch.

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

◆ getSolutionswitch()

ilQTIAssessmentcontrol::getSolutionswitch ( )

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

References $solutionswitch.

76  : string
77  {
78  return $this->solutionswitch;
79  }

◆ getView()

ilQTIAssessmentcontrol::getView ( )

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

References $view.

Referenced by ilQTIAssessmentcontrolTest\testGetView().

56  : string
57  {
58  return $this->view;
59  }
+ Here is the caller graph for this function:

◆ setFeedbackswitch()

ilQTIAssessmentcontrol::setFeedbackswitch ( string  $a_feedbackswitch)

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

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

◆ setHintswitch()

ilQTIAssessmentcontrol::setHintswitch ( string  $a_hintswitch)

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

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

◆ setSolutionswitch()

ilQTIAssessmentcontrol::setSolutionswitch ( string  $a_solutionswitch)

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

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

◆ setView()

ilQTIAssessmentcontrol::setView ( string  $a_view)

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

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

Field Documentation

◆ $feedbackswitch

string ilQTIAssessmentcontrol::$feedbackswitch = ""

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

Referenced by getFeedbackswitch().

◆ $hintswitch

string ilQTIAssessmentcontrol::$hintswitch = ""

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

Referenced by getHintswitch().

◆ $solutionswitch

string ilQTIAssessmentcontrol::$solutionswitch = ""

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

Referenced by getSolutionswitch().

◆ $view

string ilQTIAssessmentcontrol::$view = "All"

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

Referenced by getView().


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