Give the question bank code sensible PHPdocumentor package names.

This commit is contained in:
pichetp
2007-03-19 22:04:30 +00:00
parent a6e57ea053
commit 1976496e38
12 changed files with 44 additions and 4 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
<?php // $Id$
/**
* @package questionbank
* @subpackage questiontypes
*/
/////////////////
// CALCULATED ///
/////////////////
@@ -4,6 +4,10 @@
///////////////////////////////////////////////////////////////
/// ABSTRACT SUPERCLASS FOR QUSTION TYPES THAT USE DATASETS ///
///////////////////////////////////////////////////////////////
/**
* @package questionbank
* @subpackage questiontypes
*/
require_once($CFG->libdir.'/filelib.php');
+4 -1
View File
@@ -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() {
+4
View File
@@ -5,6 +5,10 @@
/////////////////
/// QUESTION TYPE CLASS //////////////////
/**
* @package questionbank
* @subpackage questiontypes
*/
class question_essay_qtype extends default_questiontype {
function name() {
+4
View File
@@ -5,6 +5,10 @@
/////////////
/// QUESTION TYPE CLASS //////////////////
/**
* @package questionbank
* @subpackage questiontypes
*/
class question_match_qtype extends default_questiontype {
function name() {
@@ -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 {
@@ -13,6 +13,10 @@
///
/// QUESTION TYPE CLASS //////////////////
/**
* @package questionbank
* @subpackage questiontypes
*/
class embedded_cloze_qtype extends default_questiontype {
function name() {
@@ -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 {
+4 -1
View File
@@ -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 {
+4
View File
@@ -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
@@ -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...
+2 -1
View File
@@ -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');