You are here

public function ScaleQuestion::initUtil in Quiz 7.5

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

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

Parameters

int $col_id: Answer collection id.

File

question_types/scale/scale.classes.inc, line 30
Scale classes.

Class

ScaleQuestion
Extension of QuizQuestion.

Code

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