WpProQuiz_Model_QuestionMapper::setPreviousId( int $questionId, int $previousQuestionId )
Set Question Previous ID.
Contents
Description #
When an existing question is changed and when it has existing statitics records the existing question will be marked offline and a new question inserted. This function will keep track of the previous question ID.
Parameters #
- $questionId
-
(int) (Required) Current Question ID.
- $previousQuestionId
-
(int) (Required) Previous Question ID.
Source #
File: includes/lib/wp-pro-quiz/lib/model/WpProQuiz_Model_QuestionMapper.php
Changelog #
Version | Description |
---|---|
3.5.0 | Introduced. |