From d4a666029d887716ac2e59f3872c4a25a9fdbb47 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Sat, 18 May 2013 09:16:05 +0100 Subject: [PATCH] MDL-39728 List all the classes in question/type/questionbase.php This should make it easier for people to understand the type hierarchy. --- question/type/questionbase.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/question/type/questionbase.php b/question/type/questionbase.php index e7b14ca1f98..452b1a487e5 100644 --- a/question/type/questionbase.php +++ b/question/type/questionbase.php @@ -17,6 +17,24 @@ /** * This file defines the class {@link question_definition} and its subclasses. * + * The type hierarchy is quite complex. Here is a summary: + * - question_definition + * - question_information_item + * - question_with_responses implements question_manually_gradable + * - question_graded_automatically implements question_automatically_gradable + * - question_graded_automatically_with_countback implements question_automatically_gradable_with_countback + * - question_graded_by_strategy + * + * Other classes: + * - question_classified_response + * - question_answer + * - question_hint + * - question_hint_with_parts + * - question_first_matching_answer_grading_strategy implements question_grading_strategy + * + * Other interfaces: + * - question_response_answer_comparer + * * @package moodlecore * @subpackage questiontypes * @copyright 2009 The Open University