ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIItemfeedback Class Reference
+ Collaboration diagram for ilQTIItemfeedback:

Public Member Functions

 ilQTIItemfeedback ()
 setView ($a_view)
 getView ()
 setIdent ($a_ident)
 getIdent ()
 setTitle ($a_title)
 getTitle ()
 addFlow_mat ($a_flow_mat)
 addMaterial ($a_material)
 addSolution ($a_solution)
 addHint ($a_hint)

Data Fields

 $view
 $ident
 $title
 $flow_mat
 $material
 $solution
 $hint

Detailed Description

Definition at line 43 of file class.ilQTIItemfeedback.php.

Member Function Documentation

ilQTIItemfeedback::addFlow_mat (   $a_flow_mat)

Definition at line 133 of file class.ilQTIItemfeedback.php.

{
array_push($this->flow_mat, $a_flow_mat);
}
ilQTIItemfeedback::addHint (   $a_hint)

Definition at line 148 of file class.ilQTIItemfeedback.php.

{
array_push($this->hint, $a_hint);
}
ilQTIItemfeedback::addMaterial (   $a_material)

Definition at line 138 of file class.ilQTIItemfeedback.php.

{
array_push($this->material, $a_material);
}
ilQTIItemfeedback::addSolution (   $a_solution)

Definition at line 143 of file class.ilQTIItemfeedback.php.

{
array_push($this->solution, $a_solution);
}
ilQTIItemfeedback::getIdent ( )

Definition at line 118 of file class.ilQTIItemfeedback.php.

References $ident.

{
return $this->ident;
}
ilQTIItemfeedback::getTitle ( )

Definition at line 128 of file class.ilQTIItemfeedback.php.

References $title.

{
return $this->title;
}
ilQTIItemfeedback::getView ( )

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

References $view.

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

Definition at line 53 of file class.ilQTIItemfeedback.php.

{
$this->flow_mat = array();
$this->material = array();
$this->solution = array();
$this->hint = array();
}
ilQTIItemfeedback::setIdent (   $a_ident)

Definition at line 113 of file class.ilQTIItemfeedback.php.

{
$this->ident = $a_ident;
}
ilQTIItemfeedback::setTitle (   $a_title)

Definition at line 123 of file class.ilQTIItemfeedback.php.

{
$this->title = $a_title;
}
ilQTIItemfeedback::setView (   $a_view)

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

References VIEW_ADMINAUTHORITY, VIEW_ADMINISTRATOR, VIEW_ALL, VIEW_ASSESSOR, VIEW_AUTHOR, VIEW_CANDIDATE, VIEW_INVIGILATORPROCTOR, VIEW_PSYCHOMETRICIAN, VIEW_SCORER, and VIEW_TUTOR.

{
switch (strtolower($a_view))
{
case "1":
case "all":
$this->view = VIEW_ALL;
break;
case "2":
case "administrator":
$this->view = VIEW_ADMINISTRATOR;
break;
case "3":
case "adminauthority":
$this->view = VIEW_ADMINAUTHORITY;
break;
case "4":
case "assessor":
$this->view = VIEW_ASSESSOR;
break;
case "5":
case "author":
$this->view = VIEW_AUTHOR;
break;
case "6":
case "candidate":
$this->view = VIEW_CANDIDATE;
break;
case "7":
case "invigilatorproctor":
$this->view = VIEW_INVIGILATORPROCTOR;
break;
case "8":
case "psychometrician":
$this->view = VIEW_PSYCHOMETRICIAN;
break;
case "9":
case "scorer":
$this->view = VIEW_SCORER;
break;
case "10":
case "tutor":
$this->view = VIEW_TUTOR;
break;
}
}

Field Documentation

ilQTIItemfeedback::$flow_mat

Definition at line 48 of file class.ilQTIItemfeedback.php.

ilQTIItemfeedback::$hint

Definition at line 51 of file class.ilQTIItemfeedback.php.

ilQTIItemfeedback::$ident

Definition at line 46 of file class.ilQTIItemfeedback.php.

Referenced by getIdent().

ilQTIItemfeedback::$material

Definition at line 49 of file class.ilQTIItemfeedback.php.

ilQTIItemfeedback::$solution

Definition at line 50 of file class.ilQTIItemfeedback.php.

ilQTIItemfeedback::$title

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

Referenced by getTitle().

ilQTIItemfeedback::$view

Definition at line 45 of file class.ilQTIItemfeedback.php.

Referenced by getView().


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