ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
SurveyQuestionEvaluation Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for SurveyQuestionEvaluation:
+ Collaboration diagram for SurveyQuestionEvaluation:

Public Member Functions

 __construct (SurveyQuestion $a_question, array $a_finished_ids=[])
 
 getResults ()
 Get results. More...
 
 getSumScores ()
 Get sum score for this question for all active ids of run. More...
 
 parseUserSpecificResults ($a_qres, int $a_user_id)
 
 getGrid ( $a_results, bool $a_abs=true, bool $a_perc=true)
 Get grid data. More...
 
 getTextAnswers ($a_results)
 Get text answers. More...
 
 getChart ($a_results)
 
 getSkippedValue ()
 Get caption for skipped value. More...
 
 exportResults ( $a_results, bool $a_do_title, bool $a_do_label)
 
 getExportGrid ($a_results)
 Get grid data. More...
 
 getUserSpecificVariableTitles (array &$a_title_row, array &$a_title_row2, bool $a_do_title, bool $a_do_label)
 Get title columns for user-specific export. More...
 
 addUserSpecificResults (array &$a_row, int $a_user_id, $a_results)
 

Protected Member Functions

 isSumScoreValid (int $nr_answer_records)
 Is sum score ok (question needs to be fully answered) More...
 
 supportsSumScore ()
 
 parseResults (ilSurveyEvaluationResults $a_results, array $a_answers, ?SurveyCategories $a_categories=null)
 Parse answer data into results instance. More...
 
 getChartColors ()
 
 getSurveyId ()
 
 getNrOfParticipants ()
 Returns the number of participants for a survey. More...
 
 getAnswerData ()
 

Protected Attributes

ilLanguage $lng
 
ilDBInterface $db
 
SurveyQuestion $question
 
array $finished_ids
 
int $chart_width = 400
 
int $chart_height = 300
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Survey question evaluation

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 26 of file class.SurveyQuestionEvaluation.php.

Constructor & Destructor Documentation

◆ __construct()

SurveyQuestionEvaluation::__construct ( SurveyQuestion  $a_question,
array  $a_finished_ids = [] 
)

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

38 {
39 global $DIC;
40
41 $this->lng = $DIC->language();
42 $this->db = $DIC->database();
43 $this->question = $a_question;
44 $this->finished_ids = $a_finished_ids;
45 }
global $DIC
Definition: shib_login.php:26

References $DIC, and ILIAS\Repository\lng().

+ Here is the call graph for this function:

Member Function Documentation

◆ addUserSpecificResults()

SurveyQuestionEvaluation::addUserSpecificResults ( array &  $a_row,
int  $a_user_id,
  $a_results 
)
abstract

◆ exportResults()

SurveyQuestionEvaluation::exportResults (   $a_results,
bool  $a_do_title,
bool  $a_do_label 
)
Parameters
ilSurveyEvaluationResults | array$a_results

Reimplemented in SurveyMatrixQuestionEvaluation.

Definition at line 495 of file class.SurveyQuestionEvaluation.php.

499 : array {
500 $question = $a_results->getQuestion();
501
502 $res = array();
503
504 if ($a_do_title) {
505 $res[] = $question->getTitle();
506 }
507 if ($a_do_label) {
508 $res[] = $question->label;
509 }
510
513
514 $res[] = (int) $a_results->getUsersAnswered();
515 $res[] = (int) $a_results->getUsersSkipped();
516
517 // :TODO:
518 $res[] = is_array($a_results->getModeValue())
519 ? implode(", ", $a_results->getModeValue())
520 : $a_results->getModeValue();
521
522 $res[] = $a_results->getModeValueAsText();
523 $res[] = (int) $a_results->getModeNrOfSelections();
524
525 // :TODO:
526 $res[] = $a_results->getMedianAsText();
527
528 $res[] = $a_results->getMean();
529
530 return array($res);
531 }
static _getQuestionTypeName(string $type_tag)
Return the translation for a given question type.
foreach($_POST as $key=> $value) $res

◆ getAnswerData()

SurveyQuestionEvaluation::getAnswerData ( )
protected

Definition at line 462 of file class.SurveyQuestionEvaluation.php.

462 : array
463 {
465
466 $res = array();
467
468 $sql = "SELECT svy_answer.* FROM svy_answer" .
469 " JOIN svy_finished ON (svy_finished.finished_id = svy_answer.active_fi)" .
470 " WHERE svy_answer.question_fi = " . $ilDB->quote($this->question->getId(), "integer") .
471 " AND svy_finished.survey_fi = " . $ilDB->quote($this->getSurveyId(), "integer");
472 if (count($this->finished_ids) > 0) {
473 $sql .= " AND " . $ilDB->in("svy_finished.finished_id", $this->finished_ids, false, "integer");
474 }
475 $set = $ilDB->query($sql);
476 while ($row = $ilDB->fetchAssoc($set)) {
477 $res[(int) $row["rowvalue"]][(int) $row["active_fi"]][] = array(
478 "value" => $row["value"],
479 "text" => $row["textanswer"],
480 "tstamp" => $row["tstamp"]
481 );
482 }
483
484 return $res;
485 }

References $ilDB, $res, and ILIAS\Repository\int().

Referenced by getResults().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getChart()

SurveyQuestionEvaluation::getChart (   $a_results)
Parameters
ilSurveyEvaluationResults | array$a_results

Reimplemented in SurveyMatrixQuestionEvaluation, SurveyMetricQuestionEvaluation, and SurveyTextQuestionEvaluation.

Definition at line 376 of file class.SurveyQuestionEvaluation.php.

376 : ?array
377 {
378 $chart = ilChart::getInstanceByType(ilChart::TYPE_GRID, (string) $a_results->getQuestion()->getId());
379 $chart->setYAxisToInteger(true);
380
381 $colors = $this->getChartColors();
382 $chart->setColors($colors);
383
384 // :TODO:
385 $chart->setSize((string) $this->chart_width, (string) $this->chart_height);
386
387 $vars = $a_results->getVariables();
388
389 $legend = $labels = array();
390 foreach ($vars as $idx => $var) {
391 $data = $chart->getDataInstance(ilChartGrid::DATA_BARS);
392 $data->setBarOptions(0.5, "center");
393 $data->setFill(1);
394 $chart->addData($data);
395
396 // labels
397 $labels[$idx] = "";
398 $legend[] = array(
399 $var->cat->title,
400 $colors[$idx]
401 );
402 $data->setLabel((string) $var->cat->title);
403
404 $data->addPoint($idx, $var->abs === null ? null : (float) $var->abs);
405 }
406
407 $chart->setTicks($labels, false, true);
408
409 return array(
410 $chart->getHTML(),
411 $legend
412 );
413 }
static getInstanceByType(int $a_type, string $a_id)
const TYPE_GRID
$data
Definition: storeScorm.php:45

References $data, ilChartGrid\DATA_BARS, ilChart\getInstanceByType(), ilSurveyEvaluationResults\getQuestion(), ilSurveyEvaluationResults\getVariables(), and ilChart\TYPE_GRID.

+ Here is the call graph for this function:

◆ getChartColors()

SurveyQuestionEvaluation::getChartColors ( )
protected

Definition at line 351 of file class.SurveyQuestionEvaluation.php.

351 : array
352 {
353 return array(
354 // flot "default" theme
355 "#edc240", "#afd8f8", "#cb4b4b", "#4da74d", "#9440ed",
356 // http://godsnotwheregodsnot.blogspot.de/2012/09/color-distribution-methodology.html
357 "#1CE6FF", "#FF34FF", "#FF4A46", "#008941", "#006FA6", "#A30059",
358 "#FFDBE5", "#7A4900", "#0000A6", "#63FFAC", "#B79762", "#004D43", "#8FB0FF", "#997D87",
359 "#5A0007", "#809693", "#FEFFE6", "#1B4400", "#4FC601", "#3B5DFF", "#4A3B53", "#FF2F80",
360 "#61615A", "#BA0900", "#6B7900", "#00C2A0", "#FFAA92", "#FF90C9", "#B903AA", "#D16100",
361 "#DDEFFF", "#000035", "#7B4F4B", "#A1C299", "#300018", "#0AA6D8", "#013349", "#00846F",
362 "#372101", "#FFB500", "#C2FFED", "#A079BF", "#CC0744", "#C0B9B2", "#C2FF99", "#001E09",
363 "#00489C", "#6F0062", "#0CBD66", "#EEC3FF", "#456D75", "#B77B68", "#7A87A1", "#788D66",
364 "#885578", "#FAD09F", "#FF8A9A", "#D157A0", "#BEC459", "#456648", "#0086ED", "#886F4C",
365 "#34362D", "#B4A8BD", "#00A6AA", "#452C2C", "#636375", "#A3C8C9", "#FF913F", "#938A81",
366 "#575329", "#00FECF", "#B05B6F", "#8CD0FF", "#3B9700", "#04F757", "#C8A1A1", "#1E6E00",
367 "#7900D7", "#A77500", "#6367A9", "#A05837", "#6B002C", "#772600", "#D790FF", "#9B9700",
368 "#549E79", "#FFF69F", "#201625", "#72418F", "#BC23FF", "#99ADC0", "#3A2465", "#922329",
369 "#5B4534", "#FDE8DC", "#404E55", "#0089A3", "#CB7E98", "#A4E804", "#324E72", "#6A3A4C"
370 );
371 }

◆ getExportGrid()

SurveyQuestionEvaluation::getExportGrid (   $a_results)

Get grid data.

Parameters
ilSurveyEvaluationResults | array$a_results

Reimplemented in SurveyMetricQuestionEvaluation, and SurveyTextQuestionEvaluation.

Definition at line 537 of file class.SurveyQuestionEvaluation.php.

537 : array
538 {
540
541 $res = array(
542 "cols" => array(
543 $lng->txt("title"),
544 $lng->txt("value"),
545 $lng->txt("category_nr_selected"),
546 $lng->txt("svy_fraction_of_selections")
547 ),
548 "rows" => array()
549 );
550
551 $vars = $a_results->getVariables();
552 if ($vars) {
553 foreach ($vars as $var) {
554 $res["rows"][] = array(
555 $var->cat->title,
556 $var->cat->scale,
557 $var->abs,
558 $var->perc
559 ? sprintf("%.2f", $var->perc * 100) . "%"
560 : "0%"
561 );
562 }
563 }
564
565 return $res;
566 }
txt(string|LanguageIdentifier $a_topic, ?int $n=null)
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...

References $lng, $res, and ilSurveyEvaluationResults\getVariables().

+ Here is the call graph for this function:

◆ getGrid()

SurveyQuestionEvaluation::getGrid (   $a_results,
bool  $a_abs = true,
bool  $a_perc = true 
)

Get grid data.

Parameters
ilSurveyEvaluationResults | array$a_results

Reimplemented in SurveyMatrixQuestionEvaluation, SurveyMetricQuestionEvaluation, and SurveyTextQuestionEvaluation.

Definition at line 284 of file class.SurveyQuestionEvaluation.php.

288 : array {
290
291 if ($a_abs && $a_perc) {
292 $cols = array(
293 $lng->txt("category_nr_selected"),
294 $lng->txt("svy_fraction_of_selections")
295 );
296 } elseif ($a_abs) {
297 $cols = array(
298 $lng->txt("category_nr_selected")
299 );
300 } else {
301 $cols = array(
302 $lng->txt("svy_fraction_of_selections")
303 );
304 }
305
306 $res = array(
307 "cols" => $cols,
308 "rows" => array()
309 );
310
311 $vars = $a_results->getVariables();
312 if ($vars) {
313 foreach ($vars as $var) {
314 $perc = $var->perc
315 ? sprintf("%.2f", $var->perc * 100) . "%"
316 : "0%";
317
318 if ($a_abs && $a_perc) {
319 $res["rows"][] = array(
320 $var->cat->title,
321 $var->abs,
322 $perc
323 );
324 } elseif ($a_abs) {
325 $res["rows"][] = array(
326 $var->cat->title,
327 $var->abs
328 );
329 } else {
330 $res["rows"][] = array(
331 $var->cat->title,
332 $perc
333 );
334 }
335 }
336 }
337
338 return $res;
339 }

References $lng.

◆ getNrOfParticipants()

SurveyQuestionEvaluation::getNrOfParticipants ( )
protected

Returns the number of participants for a survey.

Definition at line 449 of file class.SurveyQuestionEvaluation.php.

449 : int
450 {
452
453 if (count($this->finished_ids) > 0) {
454 return count($this->finished_ids);
455 }
456
457 $set = $ilDB->query("SELECT finished_id FROM svy_finished" .
458 " WHERE survey_fi = " . $ilDB->quote($this->getSurveyId(), "integer"));
459 return $set->numRows();
460 }

References $ilDB.

◆ getResults()

SurveyQuestionEvaluation::getResults ( )

Get results.

Returns
ilSurveyEvaluationResults|array

Reimplemented in SurveyMatrixQuestionEvaluation.

Definition at line 57 of file class.SurveyQuestionEvaluation.php.

58 {
59 $results = new ilSurveyEvaluationResults($this->question);
60 $answers = $this->getAnswerData();
61
62 $this->parseResults(
64 (array) ($answers[0] ?? []),
65 method_exists($this->question, "getCategories")
66 ? $this->question->getCategories()
67 : null
68 );
69
70 return $results;
71 }
parseResults(ilSurveyEvaluationResults $a_results, array $a_answers, ?SurveyCategories $a_categories=null)
Parse answer data into results instance.
$results

References $results, getAnswerData(), and parseResults().

+ Here is the call graph for this function:

◆ getSkippedValue()

SurveyQuestionEvaluation::getSkippedValue ( )

Get caption for skipped value.

Definition at line 423 of file class.SurveyQuestionEvaluation.php.

423 : string
424 {
426 }
static getSurveySkippedValue()

References ilObjSurvey\getSurveySkippedValue().

+ Here is the call graph for this function:

◆ getSumScores()

SurveyQuestionEvaluation::getSumScores ( )

Get sum score for this question for all active ids of run.

Returns
array, key is active id, value is sum score for question|null if not supported

Definition at line 77 of file class.SurveyQuestionEvaluation.php.

77 : array
78 {
80
81 $res = [];
82
83 $sql = "SELECT svy_answer.* FROM svy_answer" .
84 " JOIN svy_finished ON (svy_finished.finished_id = svy_answer.active_fi)" .
85 " WHERE svy_answer.question_fi = " . $ilDB->quote($this->question->getId(), "integer") .
86 " AND svy_finished.survey_fi = " . $ilDB->quote($this->getSurveyId(), "integer");
87 if (count($this->finished_ids) > 0) {
88 $sql .= " AND " . $ilDB->in("svy_finished.finished_id", $this->finished_ids, false, "integer");
89 }
90 $set = $ilDB->query($sql);
91 $cnt_answer_records = [];
92 while ($row = $ilDB->fetchAssoc($set)) {
93 $key = (int) $row["active_fi"];
94 $cnt_answer_records[$key] = ($cnt_answer_records[$key] ?? 0) + 1;
95 if ($this->supportsSumScore()) {
96 $res[$key] = ($res[$key] ?? 0) + (float) $row["value"] + 1;
97 } else {
98 $res[$key] = 0;
99 }
100 }
101
102 foreach ($res as $active_id => $sum_score) {
103 if (!$this->isSumScoreValid($cnt_answer_records[$active_id])) {
104 $res[$active_id] = null;
105 }
106 }
107 return $res;
108 }
isSumScoreValid(int $nr_answer_records)
Is sum score ok (question needs to be fully answered)

References $db, $ilDB, $res, getSurveyId(), ILIAS\Repository\int(), isSumScoreValid(), and supportsSumScore().

+ Here is the call graph for this function:

◆ getSurveyId()

SurveyQuestionEvaluation::getSurveyId ( )
protected

Definition at line 433 of file class.SurveyQuestionEvaluation.php.

433 : int
434 {
436
437 // #18968
438 $set = $ilDB->query("SELECT survey_fi" .
439 " FROM svy_svy_qst" .
440 " WHERE question_fi = " . $ilDB->quote($this->question->getId(), "integer"));
441 $row = $ilDB->fetchAssoc($set);
442 return (int) $row["survey_fi"];
443 }

References $ilDB.

Referenced by getSumScores().

+ Here is the caller graph for this function:

◆ getTextAnswers()

SurveyQuestionEvaluation::getTextAnswers (   $a_results)

Get text answers.

Parameters
ilSurveyEvaluationResults | array$a_results

Reimplemented in SurveyMatrixQuestionEvaluation.

Definition at line 346 of file class.SurveyQuestionEvaluation.php.

346 : array
347 {
348 return $a_results->getMappedTextAnswers();
349 }

References ilSurveyEvaluationResults\getMappedTextAnswers().

+ Here is the call graph for this function:

◆ getUserSpecificVariableTitles()

SurveyQuestionEvaluation::getUserSpecificVariableTitles ( array &  $a_title_row,
array &  $a_title_row2,
bool  $a_do_title,
bool  $a_do_label 
)

Get title columns for user-specific export.

Parameters
array$a_title_row(called by reference)
array$a_title_row2(called by reference)
bool$a_do_title
bool$a_do_label

Reimplemented in SurveyMatrixQuestionEvaluation, SurveyMultipleChoiceQuestionEvaluation, and SurveySingleChoiceQuestionEvaluation.

Definition at line 575 of file class.SurveyQuestionEvaluation.php.

580 : void {
581 // type-specific
582 }

◆ isSumScoreValid()

SurveyQuestionEvaluation::isSumScoreValid ( int  $nr_answer_records)
protected

Is sum score ok (question needs to be fully answered)

Reimplemented in SurveyMatrixQuestionEvaluation.

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

113 : bool
114 {
115 return true;
116 }

Referenced by getSumScores().

+ Here is the caller graph for this function:

◆ parseResults()

SurveyQuestionEvaluation::parseResults ( ilSurveyEvaluationResults  $a_results,
array  $a_answers,
?SurveyCategories  $a_categories = null 
)
protected

Parse answer data into results instance.

Reimplemented in SurveyMatrixQuestionEvaluation, and SurveyMetricQuestionEvaluation.

Definition at line 126 of file class.SurveyQuestionEvaluation.php.

130 : void {
131 $num_users_answered = count($a_answers);
132
133 $a_results->setUsersAnswered($num_users_answered);
134 $a_results->setUsersSkipped($this->getNrOfParticipants() - $num_users_answered);
135
136 // parse answers
137 $has_multi = false;
138 $selections = array();
139 foreach ($a_answers as $active_id => $answers) {
140 // :TODO:
141 if (count($answers) > 1) {
142 $has_multi = true;
143 }
144 foreach ($answers as $answer) {
145 // map selection value to scale/category
146 if ($a_categories &&
147 $answer["value"] != "") {
148 $scale = $a_categories->getCategoryForScale((int) $answer["value"] + 1);
149 if ($scale instanceof ilSurveyCategory) {
150 $answer["value"] = $scale->scale;
151 }
152 }
154 (int) $active_id,
155 (float) $answer["value"],
156 (string) $answer["text"],
157 $answer["tstamp"] === null ? null : (int) $answer["tstamp"]
158 );
159 $a_results->addAnswer($parsed);
160
161 if ($answer["value"] != "") {
162 if (!isset($selections[(string) $answer["value"]])) {
163 $selections[(string) $answer["value"]] = 0;
164 }
165 $selections[(string) $answer["value"]]++;
166 }
167 }
168 }
169
170 $total = array_sum($selections);
171
172 if ($total) {
173 // mode
174 $mode_nr = max($selections);
175 $tmp_mode = $selections;
176 asort($tmp_mode, SORT_NUMERIC);
177 $mode = array_keys($tmp_mode, $mode_nr);
178 $a_results->setMode($mode, $mode_nr);
179
180 if (!$has_multi) {
181 // median
182 ksort($selections, SORT_NUMERIC);
183 $median = array();
184 foreach ($selections as $value => $count) {
185 for ($i = 0; $i < $count; $i++) {
186 $median[] = $value;
187 }
188 }
189 if ($total % 2 === 0) {
190 $lower = $median[($total / 2) - 1];
191 $upper = $median[($total / 2)];
192 $median_value = 0.5 * ($lower + $upper);
193 if ($a_categories &&
194 round($median_value) != $median_value) {
195 // mapping calculated value to scale values
196 $median_value = array($lower, $upper);
197 }
198 } else {
199 $median_value = $median[(($total + 1) / 2) - 1];
200 }
201 $a_results->setMedian(
202 is_array($median_value) ? $median_value : (string) $median_value
203 );
204 }
205 }
206
207 if ($a_categories) {
208 // selections by category
209 for ($c = 0; $c < $a_categories->getCategoryCount(); $c++) {
210 $cat = $a_categories->getCategory($c);
211 $scale = $cat->scale;
212
213 $perc = null;
214 if ($total && isset($selections[$scale])) {
215 $perc = $selections[$scale] / $total;
216 }
218 $cat,
219 $selections[$scale] ?? null,
220 $perc
221 );
222 $a_results->addVariable($var);
223 }
224 }
225 }
getNrOfParticipants()
Returns the number of participants for a survey.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addVariable(ilSurveyEvaluationResultsVariable $a_variable)
addAnswer(ilSurveyEvaluationResultsAnswer $a_answer)
setMode( $a_value, int $a_nr_of_selections)

Referenced by getResults().

+ Here is the caller graph for this function:

◆ parseUserSpecificResults()

SurveyQuestionEvaluation::parseUserSpecificResults (   $a_qres,
int  $a_user_id 
)
Parameters
$a_qresilSurveyEvaluationResults|array

Definition at line 230 of file class.SurveyQuestionEvaluation.php.

230 : array
231 {
232 $parsed_results = array();
233 $tmp = "";
234 if (is_array($a_qres)) {
235 foreach ($a_qres as $row_idx => $row_results) {
236 $row_title = $row_results[0];
237 $user_results = $row_results[1]->getUserResults($a_user_id);
238 if ($user_results) {
239 foreach ($user_results as $item) {
240 // :TODO: layout
241 $tmp = $row_title . ": ";
242 if ($item[0] !== "") {
243 $tmp .= $item[0];
244 }
245 if ($item[1] && $item[0]) {
246 $tmp .= ", \"" . nl2br((string) $item[1]) . "\"";
247 } elseif ($item[1]) {
248 $tmp .= "\"" . nl2br((string) $item[1]) . "\"";
249 }
250 $parsed_results[$row_idx . "-" . $item[2]] = $tmp;
251 }
252 }
253 }
254 } else {
255 $user_results = $a_qres->getUserResults($a_user_id);
256 if ($user_results) {
257 foreach ($user_results as $item) {
258 // :TODO: layout
259 if ($item[0] !== "") {
260 $tmp = $item[0];
261 }
262 if ($item[1] && $item[0]) {
263 $tmp .= ", \"" . nl2br((string) $item[1]) . "\"";
264 } elseif ($item[1]) {
265 $tmp = "\"" . nl2br((string) $item[1]) . "\"";
266 }
267 $parsed_results[(int) $item[2]] = $tmp;
268 }
269 }
270 }
271
272 return $parsed_results;
273 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ supportsSumScore()

SurveyQuestionEvaluation::supportsSumScore ( )
protected

Reimplemented in SurveyMatrixQuestionEvaluation, SurveyMultipleChoiceQuestionEvaluation, and SurveySingleChoiceQuestionEvaluation.

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

118 : bool
119 {
120 return false;
121 }

Referenced by getSumScores().

+ Here is the caller graph for this function:

Field Documentation

◆ $chart_height

int SurveyQuestionEvaluation::$chart_height = 300
protected

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

◆ $chart_width

int SurveyQuestionEvaluation::$chart_width = 400
protected

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

◆ $db

ilDBInterface SurveyQuestionEvaluation::$db
protected

Definition at line 29 of file class.SurveyQuestionEvaluation.php.

Referenced by getSumScores().

◆ $finished_ids

array SurveyQuestionEvaluation::$finished_ids
protected

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

◆ $lng

◆ $question

SurveyQuestion SurveyQuestionEvaluation::$question
protected

Definition at line 30 of file class.SurveyQuestionEvaluation.php.


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