You are here

public function ScaleQuestion::initUtil in Quiz 7.4

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.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  4. 6.4 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  5. 7.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  6. 7 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
  7. 7.5 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()

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

Parameters

$c_id - answer collection id:

File

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

Class

ScaleQuestion
Extension of QuizQuestion.

Code

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