Browse: Home / Classes / WpProQuiz_Model_QuestionMapper /


WpProQuiz_Model_QuestionMapper::setPreviousId( int $questionId,  int $previousQuestionId )

Set Question Previous ID.

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 #


(int) (Required) Current Question ID.


(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.