mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Give the question bank code sensible PHPdocumentor package names.
This commit is contained in:
parent
bd2b6ad362
commit
41a89a0748
@ -10,7 +10,10 @@
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// 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");
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -1,6 +1,10 @@
|
||||
<?php // $Id$
|
||||
|
||||
// Based on default.php, included by ../import.php
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage importexport
|
||||
*/
|
||||
|
||||
require_once("$CFG->libdir/xmlize.php");
|
||||
|
||||
|
@ -31,7 +31,10 @@
|
||||
// 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() {
|
||||
|
@ -8,6 +8,10 @@
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Based on default.php, included by ../import.php
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage importexport
|
||||
*/
|
||||
|
||||
class qformat_hotpot extends qformat_default {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -25,7 +25,10 @@
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Based on format.php, included by ../../import.php
|
||||
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage importexport
|
||||
*/
|
||||
class qformat_missingword extends qformat_default {
|
||||
|
||||
function provide_import() {
|
||||
|
@ -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() {
|
||||
|
@ -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) {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -27,6 +27,10 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Based on format.php, included by ../../import.php
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage importexport
|
||||
*/
|
||||
|
||||
function unhtmlentities($string){
|
||||
$search = array ("'<script[?>]*?>.*?</script>'si", // remove javascript
|
||||
|
@ -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() {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
*/
|
||||
require_once("$CFG->dirroot/question/type/questiontype.php");
|
||||
|
||||
class question_shortanswer_qtype extends default_questiontype {
|
||||
|
@ -5,6 +5,10 @@
|
||||
/////////////////
|
||||
|
||||
/// QUESTION TYPE CLASS //////////////////
|
||||
/**
|
||||
* @package questionbank
|
||||
* @subpackage questiontypes
|
||||
*/
|
||||
class question_truefalse_qtype extends default_questiontype {
|
||||
|
||||
function name() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user