| Moodle PHP Documentation 4.1
    Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc) | 
This question_grading_strategy interface. More...
 
  
| Public Member Functions | |
| get_correct_answer () | |
| grade (array $response) | |
| Return a question answer that describes the outcome (fraction and feeback) for a particular respons. | |
This question_grading_strategy interface.
Used to share grading code between questions that that subclass question_graded_by_strategy.
| question_grading_strategy::get_correct_answer | ( | ) | 
| question_answer | an answer that contains the a response that would get full marks. | 
Implemented in question_first_matching_answer_grading_strategy.
| question_grading_strategy::grade | ( | array | $response | ) | 
Return a question answer that describes the outcome (fraction and feeback) for a particular respons.
| array | $response | the response. | 
| question_answer | the answer describing the outcome. | 
Implemented in question_first_matching_answer_grading_strategy.