ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

ilQTIAssessmentcontrol::getFeedbackswitch ( )

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

References $feedbackswitch.

{
}
ilQTIAssessmentcontrol::getHintswitch ( )

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

References $hintswitch.

{
}
ilQTIAssessmentcontrol::getSolutionswitch ( )

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

References $solutionswitch.

{
}
ilQTIAssessmentcontrol::getView ( )

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

References $view.

{
return $this->view;
}
ilQTIAssessmentcontrol::ilQTIAssessmentcontrol ( )

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

{
$this->hintswitch = "";
$this->solutionswitch = "";
$this->view = "All";
$this->feedbackswitch = "";
}
ilQTIAssessmentcontrol::setFeedbackswitch (   $a_feedbackswitch)

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

{
switch ($a_feedbackswitch)
{
case "Yes":
case "No":
$this->feedbackswitch = $a_feedbackswitch;
break;
default:
$this->feedbackswitch = "Yes";
break;
}
}
ilQTIAssessmentcontrol::setHintswitch (   $a_hintswitch)

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

{
switch ($a_hintswitch)
{
case "Yes":
case "No":
$this->hintswitch = $a_hintswitch;
break;
default:
$this->hintswitch = "Yes";
break;
}
}
ilQTIAssessmentcontrol::setSolutionswitch (   $a_solutionswitch)

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

{
switch ($a_solutionswitch)
{
case "Yes":
case "No":
$this->solutionswitch = $a_solutionswitch;
break;
default:
$this->solutionswitch = "Yes";
break;
}
}
ilQTIAssessmentcontrol::setView (   $a_view)

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

{
switch ($a_view)
{
case "Administrator":
case "AdminAuthority":
case "Assessor":
case "Author":
case "Candidate":
case "InvigilatorProctor":
case "Psychometrician":
case "Scorer":
case "Tutor":
$this->view = $a_view;
break;
default:
$this->view = "All";
break;
}
}

Field Documentation

ilQTIAssessmentcontrol::$feedbackswitch

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

Referenced by getFeedbackswitch().

ilQTIAssessmentcontrol::$hintswitch

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

Referenced by getHintswitch().

ilQTIAssessmentcontrol::$solutionswitch

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

Referenced by getSolutionswitch().

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: