public function ScaleQuestion::initUtil in Quiz 8.6
Same name and namespace in other branches
- 8.5 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleQuestion.php \ScaleQuestion::initUtil()
- 6.6 question_types/scale/scale.classes.inc \ScaleQuestion::initUtil()
- 6.4 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 being used as a utility.
Parameters
int $col_id: Answer collection id.
File
- question_types/
quiz_scale/ src/ Plugin/ quiz/ QuizQuestion/ ScaleQuestion.php, line 30 - Scale classes.
Class
- ScaleQuestion
- Extension of QuizQuestion.
Code
public function initUtil($col_id) {
$this->util = TRUE;
$this->col_id = $col_id;
}