You are here

public function ScaleQuestion::initUtil in Quiz 6.6

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleQuestion.php \ScaleQuestion::initUtil()
  2. 8.5 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleQuestion.php \ScaleQuestion::initUtil()
  3. 6.4 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  4. 7.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  5. 7 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  6. 7.4 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  7. 7.5 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()

Tells the object that it is beeing used as a utility.

Parameters

$c_id - answer collection id:

File

question_types/scale/scale.classes.inc, line 51
The main classes for the scale question type.

Class

ScaleQuestion
Implementation of QuizQuestion.

Code

public function initUtil($c_id) {
  $this->util = TRUE;
  $this->col_id = $c_id;
}