public function ScaleQuestion::initUtil in Quiz 6.4
Same name and namespace in other branches
- 8.6 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleQuestion.php \ScaleQuestion::initUtil()
- 8.5 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleQuestion.php \ScaleQuestion::initUtil()
- 6.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
- 7.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
- 7 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
- 7.4 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
- 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;
}