moveUp($moveUp); $objExercise->save(); } // moves a question down in the list if($moveDown) { $objExercise->moveDown($moveDown); $objExercise->save(); } // deletes a question from the exercise (not from the data base) if($deleteQuestion) { // if the question exists if($objQuestionTmp = Question::read($deleteQuestion)) { $objQuestionTmp->delete($exerciseId); // if the question has been removed from the exercise if($objExercise->removeFromList($deleteQuestion)) { $nbrQuestions--; } } // destruction of the Question object unset($objQuestionTmp); } echo ''.get_lang('GetExistingQuestion').''; Question :: display_type_menu (); ?>
| selectTitle(); ?> | selectType()-1]; ?> | |
|