Permalink
Browse files

MDL-39728 List all the classes in question/type/questionbase.php

This should make it easier for people to understand the type hierarchy.
  • Loading branch information...
1 parent f0d8c53 commit 8210b61ff74f2a8c9fd3ae50b948d6ad3d8a2426 @timhunt timhunt committed May 18, 2013
Showing with 18 additions and 0 deletions.
  1. +18 −0 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

0 comments on commit 8210b61

Please sign in to comment.