Choice: MDL-20440 Added completion support to Choice (mark completed when user makes choice)

This commit is contained in:
Sam Marshall 2010-10-14 14:58:43 +00:00
parent 14333c1128
commit bc499733f8
9 changed files with 108 additions and 15 deletions

View file

@ -40,7 +40,8 @@ class backup_choice_activity_structure_step extends backup_activity_structure_st
$choice = new backup_nested_element('choice', array('id'), array(
'name', 'intro', 'introformat', 'publish',
'showresults', 'display', 'allowupdate', 'allowunanswered',
'limitanswers', 'timeopen', 'timeclose', 'timemodified'));
'limitanswers', 'timeopen', 'timeclose', 'timemodified',
'completionsubmit'));
$options = new backup_nested_element('options');