deletes a question from the database the parameter tells if the question is removed from all exercises (value = 0), or just from one exercise (value = exercise ID)
Tags:
author:
- Olivier Brouckaert
Parameters:
-
$deleteFromEx
integer $deleteFromEx - exercise ID if the question is only removed from one exercise
moves the temporary question "tmp" to "quiz-$questionId" Temporary pictures are used when we don't want to save a picture right after a form submission.
saves the picture coming from POST into a temporary file Temporary pictures are used when we don't want to save a picture right after a form submission.
For example, if we first show a confirmation box.
Tags:
author:
- Olivier Brouckaert
Parameters:
-
$Picture
string $Picture - temporary path of the picture to move
changes the answer type. If the user changes the type from "unique answer" to "multiple answers" (or conversely) answers are not deleted, otherwise yes