<?php // $Id$
-
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
/////////////////
// CALCULATED ///
/////////////////
///////////////////////////////////////////////////////////////
/// ABSTRACT SUPERCLASS FOR QUSTION TYPES THAT USE DATASETS ///
///////////////////////////////////////////////////////////////
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
require_once($CFG->libdir.'/filelib.php');
// 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() {
/////////////////
/// QUESTION TYPE CLASS //////////////////
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
class question_essay_qtype extends default_questiontype {
function name() {
/////////////
/// QUESTION TYPE CLASS //////////////////
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
class question_match_qtype extends default_questiontype {
function name() {
* 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 {
///
/// QUESTION TYPE CLASS //////////////////
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
class embedded_cloze_qtype extends default_questiontype {
function name() {
/// 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 {
* @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");
*
* 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 {
//////////////
/// QUESTION TYPE CLASS //////////////////
+/**
+ * @package questionbank
+ * @subpackage questiontypes
+*/
class random_qtype extends default_questiontype {
// Carries questions available as randoms sorted by category
/// 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...
* @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');