]> git.mjollnir.org Git - moodle.git/commitdiff
Give the question bank code sensible PHPdocumentor package names.
authorpichetp <pichetp>
Tue, 20 Mar 2007 02:10:26 +0000 (02:10 +0000)
committerpichetp <pichetp>
Tue, 20 Mar 2007 02:10:26 +0000 (02:10 +0000)
17 files changed:
question/format/blackboard/format.php
question/format/blackboard_6/format.php
question/format/coursetestmanager/format.php
question/format/examview/format.php
question/format/gift/format.php
question/format/hotpot/format.php
question/format/learnwise/format.php
question/format/missingword/format.php
question/format/multianswer/format.php
question/format/qti2/custommediafilter.php
question/format/qti2/format.php
question/format/qti2/qt_common.php
question/format/webct/format.php
question/format/xhtml/format.php
question/format/xml/format.php
question/type/shortanswer/questiontype.php
question/type/truefalse/questiontype.php

index c9a87f8cf21a6926addb2b76016cca9760d38eac..ecef1ce3307d5540937840cbba33fe5e00061fc2 100644 (file)
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 require_once ("$CFG->libdir/xmlize.php");
 require_once ("$CFG->libdir/tcpdf/html_entity_decode_php4.php");
 
index 87d8e2eae0ca5a049f54ada4df6e28b37dcd501a..9ebce7d588d0fbf3351328df05e2ad51db5b6dd6 100644 (file)
@@ -9,7 +9,10 @@
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 require_once ("$CFG->libdir/xmlize.php");
 
 class qformat_blackboard_6 extends qformat_default {
index eba189cb2c95fd490472c655b404a5c0d98aecb5..b80cf24d4f90dba02d92b0fb63d884dc906e9018 100755 (executable)
@@ -6,6 +6,11 @@
 ////////////////////////////////////////////////////////////////////
 
 // Based on format.php, included by ../../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
+
 require_once($CFG->dirroot.'/lib/uploadlib.php');
 
 class qformat_coursetestmanager extends qformat_default {
index 4d38b91a5dd6c96e6425bd944ae4d661d844463e..31952580b27fbff1d5740e2a31a5448925e5e6ea 100755 (executable)
@@ -1,6 +1,10 @@
 <?php // $Id$
 
 // Based on default.php, included by ../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 
 require_once("$CFG->libdir/xmlize.php");
 
index 3ae9e57758222ea454935be0f87e2617baa7334d..bee1ed6a0cb0400e29011fe4f7bdaad3b2037de7 100755 (executable)
 // and others. Paul Tsuchido Shew wrote this filter in December 2003.
 //////////////////////////////////////////////////////////////////////////
 // Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 class qformat_gift extends qformat_default {
 
     function provide_import() {
index fe4c2544c944bee941f368610ca5a046132d544e..f13774a573fd4a39b3dc78b32d139e83f16d0d35 100644 (file)
@@ -8,6 +8,10 @@
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on default.php, included by ../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 
 class qformat_hotpot extends qformat_default {
 
index 1f3971374fccb822cc745250b60db2642f0acf9b..a65037d6fa40aedde559537ef496f596d2eb3e49 100755 (executable)
@@ -5,6 +5,10 @@
 // deductions are currently simply found by dividing the award for the incorrect 
 // answer by the total number of options
 // Based on format.php, included by ../../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 
 class qformat_learnwise extends qformat_default {
 
index dda8d8018dfeeea8e7bc4e9bbccce2407b739103..0f1e9523afaae25f87cb6e0a7c071d7ee75e53c2 100644 (file)
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 class qformat_missingword extends qformat_default {
 
     function provide_import() {
index c627257f758cf1334e4ca43f7b04633aaecf5dec..01b0ec8e2c1f829ee2e83002d51a52fd53a8a970 100644 (file)
@@ -8,7 +8,10 @@
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 class qformat_multianswer extends qformat_default {
 
     function provide_import() {
index 00685c22fbd65f4595588c3a084837366c84ff7d..8dcc4e15f4c45f380dce49cf0ffc13b6bb870265 100644 (file)
@@ -3,7 +3,10 @@
 // note: modified from the original filter/mediaplugin/filter.php
 
 // given a href for a movie or sound file, it returns an appropriate tag
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 function custom_mediaplugin_filter($text, $width = null, $height = null) {
     global $CFG;
     if (is_null($width) || $width == 0) {
index 23fcca81c39993123d7c2dc2fbc321e6c91b8112..42b49ad1734bd610da429ffaf2a354007b800ed9 100644 (file)
@@ -8,7 +8,10 @@ require_once("$CFG->dirroot/question/format/qti2/qt_common.php");
 ////////////////////////////////////////////////////////////////////////////
 
 // Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 define('CLOZE_TRAILING_TEXT_ID', 9999999);
 
 class qformat_qti2 extends qformat_default {
index f39682d7563e0da3d4b4f081107be2a05e5bad08..364b9872d9ca0e2cbc6b5179b31355c85fbf3f92 100644 (file)
@@ -12,7 +12,9 @@
  * @param int courseid
  * @return array containing filenames
  * @calledfrom type/<typename>/editquestion.php 
- */
+ * @package questionbank
+ * @subpackage importexport
+*/
 function get_course_media_files($courseid) 
 {
 // this code lifted from mod/quiz/question.php and modified
index 8e6ecd6fe574e61fc802c0d842172d3c4d87880c..8d5b09d615a4b155a869a437fb106c00fd082bb7 100644 (file)
 ///////////////////////////////////////////////////////////////////////////
 
 // Based on format.php, included by ../../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 
 function unhtmlentities($string){
     $search = array ("'<script[?>]*?>.*?</script>'si",  // remove javascript
index 1a74c21c2fc34b399ef8054e5dc3f188926c3a0f..2ae9029c13b5ac8bb2b6bbd2f2169035fba04956 100755 (executable)
@@ -1,6 +1,9 @@
 <?php 
 // Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 class qformat_xhtml extends qformat_default {
 
     function provide_export() {
index 23fae5e16e0d5db1742fb9f4687003f12c4cc957..6c657d63a05903c6d6ba3e3a219707c1ce6e0175 100755 (executable)
@@ -5,7 +5,10 @@
 //
 //////////////////////////////////////////////////////////////////////////
 // Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
 require_once( "$CFG->libdir/xmlize.php" );
 
 class qformat_xml extends qformat_default {
index 2919c756af89ea4389fbfb9a1cdfc6fc312187f8..0345ce185095a4c2d838c99e39faaef87515f0f0 100644 (file)
 /// This class contains some special features in order to make the
 /// question type embeddable within a multianswer (cloze) question
 ///
+/**
+* @package questionbank
+* @subpackage questiontypes
+*/
 require_once("$CFG->dirroot/question/type/questiontype.php");
 
 class question_shortanswer_qtype extends default_questiontype {
index 11cd11c725db5f65619f1725a20e4d13c8b3f08f..8f344602482b20957b1ba1cac5684676c8e1cee7 100644 (file)
@@ -5,6 +5,10 @@
 /////////////////
 
 /// QUESTION TYPE CLASS //////////////////
+/**
+* @package questionbank
+* @subpackage questiontypes
+*/
 class question_truefalse_qtype extends default_questiontype {
 
     function name() {