Skip to content

Commit

Permalink
Create letterhints field in question class for php 8.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen authored Apr 20, 2024
1 parent a37065d commit 012ef49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions question.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ class qtype_gapfill_question extends question_graded_automatically_with_countbac
*/
public $shuffledanswers;

/**
* Should letterhints be generated in interactive with feedback mode. This takes the form
* of adding an additional letter to the hints shown.
*
* @var boolean
*/
public $letterhints;


/**
* Where an answer can be correct in more than one gap, only give a mark for one of them
* e.g. if it is olympic medals gold,silver and bronze, only give one mark if gold is
Expand Down

0 comments on commit 012ef49

Please sign in to comment.