From 1976496e38cc7310a4dfe8843032c7ca0e7ca02a Mon Sep 17 00:00:00 2001 From: pichetp Date: Mon, 19 Mar 2007 22:04:30 +0000 Subject: [PATCH] Give the question bank code sensible PHPdocumentor package names. --- question/type/calculated/questiontype.php | 5 ++++- question/type/datasetdependent/abstractqtype.php | 4 ++++ question/type/description/questiontype.php | 5 ++++- question/type/essay/questiontype.php | 4 ++++ question/type/match/questiontype.php | 4 ++++ question/type/missingtype/questiontype.php | 2 ++ question/type/multianswer/questiontype.php | 4 ++++ question/type/multichoice/questiontype.php | 4 ++++ question/type/numerical/questiontype.php | 5 ++++- question/type/random/questiontype.php | 4 ++++ question/type/randomsamatch/questiontype.php | 4 ++++ question/type/rqp/questiontype.php | 3 ++- 12 files changed, 44 insertions(+), 4 deletions(-) diff --git a/question/type/calculated/questiontype.php b/question/type/calculated/questiontype.php index b0ebea32f7..43b0d6e68f 100644 --- a/question/type/calculated/questiontype.php +++ b/question/type/calculated/questiontype.php @@ -1,5 +1,8 @@ libdir.'/filelib.php'); diff --git a/question/type/description/questiontype.php b/question/type/description/questiontype.php index f9afbb8ae7..5f241e000c 100644 --- a/question/type/description/questiontype.php +++ b/question/type/description/questiontype.php @@ -10,7 +10,10 @@ // The question type 'description' is not really a question type // and it therefore often sticks to some kind of odd behaviour // - +/** + * @package questionbank + * @subpackage questiontypes +*/ class description_qtype extends default_questiontype { function name() { diff --git a/question/type/essay/questiontype.php b/question/type/essay/questiontype.php index b92c3443cb..4505f25f0c 100644 --- a/question/type/essay/questiontype.php +++ b/question/type/essay/questiontype.php @@ -5,6 +5,10 @@ ///////////////// /// QUESTION TYPE CLASS ////////////////// +/** + * @package questionbank + * @subpackage questiontypes +*/ class question_essay_qtype extends default_questiontype { function name() { diff --git a/question/type/match/questiontype.php b/question/type/match/questiontype.php index c1538b82e2..959901d21a 100644 --- a/question/type/match/questiontype.php +++ b/question/type/match/questiontype.php @@ -5,6 +5,10 @@ ///////////// /// QUESTION TYPE CLASS ////////////////// +/** + * @package questionbank + * @subpackage questiontypes +*/ class question_match_qtype extends default_questiontype { function name() { diff --git a/question/type/missingtype/questiontype.php b/question/type/missingtype/questiontype.php index d91a136ce9..9b9b8efc1b 100644 --- a/question/type/missingtype/questiontype.php +++ b/question/type/missingtype/questiontype.php @@ -12,6 +12,8 @@ * When a question is encountered with a type that is not installed then its * type is changed to 'missingtype'. This questiontype just makes sure that the * necessary information is printed about the question. + * @package questionbank + * @subpackage questiontypes */ class question_missingtype_qtype extends default_questiontype { diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index 2fc199a4d8..d50b0e99a2 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -13,6 +13,10 @@ /// /// QUESTION TYPE CLASS ////////////////// +/** + * @package questionbank + * @subpackage questiontypes +*/ class embedded_cloze_qtype extends default_questiontype { function name() { diff --git a/question/type/multichoice/questiontype.php b/question/type/multichoice/questiontype.php index 5fb6d8f09a..c6506ebb24 100644 --- a/question/type/multichoice/questiontype.php +++ b/question/type/multichoice/questiontype.php @@ -10,6 +10,10 @@ /// This class contains some special features in order to make the /// question type embeddable within a multianswer (cloze) question /// +/** + * @package questionbank + * @subpackage questiontypes +*/ class question_multichoice_qtype extends default_questiontype { diff --git a/question/type/numerical/questiontype.php b/question/type/numerical/questiontype.php index 65db4bc332..95806eae6c 100644 --- a/question/type/numerical/questiontype.php +++ b/question/type/numerical/questiontype.php @@ -3,7 +3,8 @@ * @version $Id$ * @author Martin Dougiamas and many others. Tim Hunt. * @license http://www.gnu.org/copyleft/gpl.html GNU Public License - * @package question + * @package questionbank + * @subpackage questiontypes *//** */ require_once("$CFG->dirroot/question/type/shortanswer/questiontype.php"); @@ -16,6 +17,8 @@ require_once("$CFG->dirroot/question/type/shortanswer/questiontype.php"); * * This question type behaves like shortanswer in most cases. * Therefore, it extends the shortanswer question type... + * @package questionbank + * @subpackage questiontypes */ class question_numerical_qtype extends question_shortanswer_qtype { diff --git a/question/type/random/questiontype.php b/question/type/random/questiontype.php index 4a2c3a368c..fb96a22a44 100644 --- a/question/type/random/questiontype.php +++ b/question/type/random/questiontype.php @@ -5,6 +5,10 @@ ////////////// /// QUESTION TYPE CLASS ////////////////// +/** + * @package questionbank + * @subpackage questiontypes +*/ class random_qtype extends default_questiontype { // Carries questions available as randoms sorted by category diff --git a/question/type/randomsamatch/questiontype.php b/question/type/randomsamatch/questiontype.php index e2a968dfbe..fb4a8306dc 100644 --- a/question/type/randomsamatch/questiontype.php +++ b/question/type/randomsamatch/questiontype.php @@ -8,6 +8,10 @@ /// can not also be used by a random question /// QUESTION TYPE CLASS ////////////////// +/** + * @package questionbank + * @subpackage questiontypes +*/ class question_randomsamatch_qtype extends question_match_qtype { /// Extends 'match' as there are quite a few simularities... diff --git a/question/type/rqp/questiontype.php b/question/type/rqp/questiontype.php index 605a151466..cc4a878acf 100644 --- a/question/type/rqp/questiontype.php +++ b/question/type/rqp/questiontype.php @@ -7,7 +7,8 @@ * @author Alex Smith and other members of the Serving Mathematics project * {@link http://maths.york.ac.uk/serving_maths} * @license http://www.gnu.org/copyleft/gpl.html GNU Public License -* @package quiz + * @package questionbank + * @subpackage questiontypes */ require_once($CFG->dirroot . '/question/type/rqp/lib.php'); -- 2.39.5