ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.

References array.

54  {
55  $this->flow_mat = array();
56  $this->material = array();
57  $this->solution = array();
58  $this->hint = array();
59  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addFlow_mat()

ilQTIItemfeedback::addFlow_mat (   $a_flow_mat)

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

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

◆ addHint()

ilQTIItemfeedback::addHint (   $a_hint)

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

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

◆ addMaterial()

ilQTIItemfeedback::addMaterial (   $a_material)

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

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

◆ addSolution()

ilQTIItemfeedback::addSolution (   $a_solution)

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

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

◆ getIdent()

ilQTIItemfeedback::getIdent ( )

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

References $ident.

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

◆ getTitle()

ilQTIItemfeedback::getTitle ( )

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

References $title.

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

◆ getView()

ilQTIItemfeedback::getView ( )

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

References $view.

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

◆ setIdent()

ilQTIItemfeedback::setIdent (   $a_ident)

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

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

◆ setTitle()

ilQTIItemfeedback::setTitle (   $a_title)

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

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

◆ setView()

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.

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

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: