ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilQTIItemfeedback Class Reference
+ Collaboration diagram for ilQTIItemfeedback:

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

ilQTIItemfeedback::__construct ( )

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

54 {
55 $this->flow_mat = array();
56 $this->material = array();
57 $this->solution = array();
58 $this->hint = array();
59 }

Member Function Documentation

◆ addFlow_mat()

ilQTIItemfeedback::addFlow_mat (   $a_flow_mat)

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

133 {
134 array_push($this->flow_mat, $a_flow_mat);
135 }

◆ addHint()

ilQTIItemfeedback::addHint (   $a_hint)

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

148 {
149 array_push($this->hint, $a_hint);
150 }

◆ addMaterial()

ilQTIItemfeedback::addMaterial (   $a_material)

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

138 {
139 array_push($this->material, $a_material);
140 }

◆ addSolution()

ilQTIItemfeedback::addSolution (   $a_solution)

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

143 {
144 array_push($this->solution, $a_solution);
145 }

◆ getIdent()

ilQTIItemfeedback::getIdent ( )

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

118 {
119 return $this->ident;
120 }

References $ident.

◆ getTitle()

ilQTIItemfeedback::getTitle ( )

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

128 {
129 return $this->title;
130 }

References $title.

◆ getView()

ilQTIItemfeedback::getView ( )

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

108 {
109 return $this->view;
110 }

References $view.

◆ setIdent()

ilQTIItemfeedback::setIdent (   $a_ident)

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

113 {
114 $this->ident = $a_ident;
115 }

◆ setTitle()

ilQTIItemfeedback::setTitle (   $a_title)

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

123 {
124 $this->title = $a_title;
125 }

◆ setView()

ilQTIItemfeedback::setView (   $a_view)

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

62 {
63 switch (strtolower($a_view)) {
64 case "1":
65 case "all":
66 $this->view = VIEW_ALL;
67 break;
68 case "2":
69 case "administrator":
70 $this->view = VIEW_ADMINISTRATOR;
71 break;
72 case "3":
73 case "adminauthority":
74 $this->view = VIEW_ADMINAUTHORITY;
75 break;
76 case "4":
77 case "assessor":
78 $this->view = VIEW_ASSESSOR;
79 break;
80 case "5":
81 case "author":
82 $this->view = VIEW_AUTHOR;
83 break;
84 case "6":
85 case "candidate":
86 $this->view = VIEW_CANDIDATE;
87 break;
88 case "7":
89 case "invigilatorproctor":
90 $this->view = VIEW_INVIGILATORPROCTOR;
91 break;
92 case "8":
93 case "psychometrician":
94 $this->view = VIEW_PSYCHOMETRICIAN;
95 break;
96 case "9":
97 case "scorer":
98 $this->view = VIEW_SCORER;
99 break;
100 case "10":
101 case "tutor":
102 $this->view = VIEW_TUTOR;
103 break;
104 }
105 }
const VIEW_ALL
const VIEW_ASSESSOR
const VIEW_PSYCHOMETRICIAN
const VIEW_ADMINISTRATOR
const VIEW_AUTHOR
const VIEW_ADMINAUTHORITY
const VIEW_SCORER
const VIEW_TUTOR
const VIEW_CANDIDATE
const VIEW_INVIGILATORPROCTOR

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

Field Documentation

◆ $flow_mat

ilQTIItemfeedback::$flow_mat

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

◆ $hint

ilQTIItemfeedback::$hint

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

◆ $ident

ilQTIItemfeedback::$ident

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

Referenced by getIdent().

◆ $material

ilQTIItemfeedback::$material

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

◆ $solution

ilQTIItemfeedback::$solution

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

◆ $title

ilQTIItemfeedback::$title

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

Referenced by getTitle().

◆ $view

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: