////////////////////////////////////////////////////////////////////////////
// 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");
////////////////////////////////////////////////////////////////////////////
// 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 {
////////////////////////////////////////////////////////////////////
// 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 {
<?php // $Id$
// Based on default.php, included by ../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
require_once("$CFG->libdir/xmlize.php");
// 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() {
////////////////////////////////////////////////////////////////////////////
// Based on default.php, included by ../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
class qformat_hotpot extends qformat_default {
// 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 {
////////////////////////////////////////////////////////////////////////////
// Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
class qformat_missingword extends qformat_default {
function provide_import() {
////////////////////////////////////////////////////////////////////////////
// Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
class qformat_multianswer extends qformat_default {
function provide_import() {
// 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) {
////////////////////////////////////////////////////////////////////////////
// Based on format.php, included by ../../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
define('CLOZE_TRAILING_TEXT_ID', 9999999);
class qformat_qti2 extends qformat_default {
* @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
///////////////////////////////////////////////////////////////////////////
// Based on format.php, included by ../../import.php
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
function unhtmlentities($string){
$search = array ("'<script[?>]*?>.*?</script>'si", // remove javascript
<?php
// Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
class qformat_xhtml extends qformat_default {
function provide_export() {
//
//////////////////////////////////////////////////////////////////////////
// Based on default.php, included by ../import.php
-
+/**
+ * @package questionbank
+ * @subpackage importexport
+ */
require_once( "$CFG->libdir/xmlize.php" );
class qformat_xml extends qformat_default {
/// 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 {
/////////////////
/// QUESTION TYPE CLASS //////////////////
+/**
+* @package questionbank
+* @subpackage questiontypes
+*/
class question_truefalse_qtype extends default_questiontype {
function name() {