MDL-44180 mod_quiz: unified @package use

This commit is contained in:
Sam Hemelryk 2014-02-16 11:59:15 +13:00
parent 76e4de31cc
commit 01773a6d00
32 changed files with 76 additions and 105 deletions

View file

@ -17,10 +17,9 @@
/** /**
* Classes to enforce the various access rules that can apply to a quiz. * Classes to enforce the various access rules that can apply to a quiz.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2009 Tim Hunt
* @copyright 2009 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Defines the form that limits student's access to attempt a quiz. * Defines the form that limits student's access to attempt a quiz.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2011 The Open University
* @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Base class for rules that restrict the ability to attempt a quiz. * Base class for rules that restrict the ability to attempt a quiz.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2011 The Open University
* @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -18,10 +18,9 @@
* Fallback page of /mod/quiz/edit.php add random question dialog, * Fallback page of /mod/quiz/edit.php add random question dialog,
* for users who do not use javascript. * for users who do not use javascript.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2008 Olli Savolainen
* @copyright 2008 Olli Savolainen * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Defines the Moodle forum used to add random questions to the quiz. * Defines the Moodle forum used to add random questions to the quiz.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2008 Olli Savolainen
* @copyright 2008 Olli Savolainen * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Defines the base class for quiz access plugins backup code. * Defines the base class for quiz access plugins backup code.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2011 The Open University
* @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* @package moodlecore * @package mod_quiz
* @subpackage backup-moodle2 * @subpackage backup-moodle2
* @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,10 +17,9 @@
/** /**
* Restore code for the quizaccess_honestycheck plugin. * Restore code for the quizaccess_honestycheck plugin.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2011 The Open University
* @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* @package moodlecore * @package mod_quiz
* @subpackage backup-moodle2 * @subpackage backup-moodle2
* @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* @package moodlecore * @package mod_quiz
* @subpackage backup-moodle2 * @subpackage backup-moodle2
* @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,10 +18,9 @@
* This page allows the teacher to enter a manual grade for a particular question. * This page allows the teacher to enter a manual grade for a particular question.
* This page is expected to only be used in a popup window. * This page is expected to only be used in a popup window.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright gustav delius 2006
* @copyright gustav delius 2006 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once('../../config.php'); require_once('../../config.php');

View file

@ -17,10 +17,9 @@
/** /**
* Defines message providers (types of message sent) for the quiz module. * Defines message providers (types of message sent) for the quiz module.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2010 Andrew Davis http://moodle.com
* @copyright 2010 Andrew Davis http://moodle.com * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -17,10 +17,9 @@
/** /**
* Sub-plugin definitions for the quiz module. * Sub-plugin definitions for the quiz module.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2010 Petr Skoda
* @copyright 2010 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -35,8 +35,7 @@
* delete Removes a question from the quiz * delete Removes a question from the quiz
* savechanges Saves the order and grades for questions in the quiz * savechanges Saves the order and grades for questions in the quiz
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com} * @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -22,8 +22,7 @@
* the module-indpendent code for handling questions and which in turn * the module-indpendent code for handling questions and which in turn
* initialises all the questiontype classes. * initialises all the questiontype classes.
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com} * @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,8 +17,7 @@
/** /**
* This script lists all the instances of quiz in a particular course * This script lists all the instances of quiz in a particular course
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Strings for component 'quiz', language 'en', branch 'MOODLE_20_STABLE' * Strings for component 'quiz', language 'en', branch 'MOODLE_20_STABLE'
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['accessnoticesheader'] = 'You can preview this quiz, but if this were a real attempt, you would be blocked because:'; $string['accessnoticesheader'] = 'You can preview this quiz, but if this were a real attempt, you would be blocked because:';

View file

@ -20,8 +20,7 @@
* This contains functions that are called also from outside the quiz module * This contains functions that are called also from outside the quiz module
* Functions that are only called by the quiz module itself are in {@link locallib.php} * Functions that are only called by the quiz module itself are in {@link locallib.php}
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -23,8 +23,7 @@
* the module-indpendent code for handling questions and which in turn * the module-indpendent code for handling questions and which in turn
* initialises all the questiontype classes. * initialises all the questiontype classes.
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com} * @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,8 +17,7 @@
/** /**
* Defines the quiz module ettings form. * Defines the quiz module ettings form.
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 2006 Jamie Pratt * @copyright 2006 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,8 +17,7 @@
/** /**
* Settings form for overrides in the quiz module. * Settings form for overrides in the quiz module.
* *
* @package mod * @package mod_quiz
* @subpackage quiz
* @copyright 2010 Matt Petro * @copyright 2010 Matt Petro
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* This page handles editing and creation of quiz overrides * This page handles editing and creation of quiz overrides
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2010 Matt Petro
* @copyright 2010 Matt Petro * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -23,10 +23,9 @@
* *
* This code used to be near the top of attempt.php, if you are looking for CVS history. * This code used to be near the top of attempt.php, if you are looking for CVS history.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2009 Tim Hunt
* @copyright 2009 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once(dirname(__FILE__) . '/../../config.php'); require_once(dirname(__FILE__) . '/../../config.php');

View file

@ -17,10 +17,9 @@
/** /**
* Defines the renderer for the quiz module. * Defines the renderer for the quiz module.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2011 The Open University
* @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* This script controls the display of the quiz reports. * This script controls the display of the quiz reports.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -18,10 +18,9 @@
* This page prints a review of a particular question attempt. * This page prints a review of a particular question attempt.
* This page is expected to only be used in a popup window. * This page is expected to only be used in a popup window.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Administration settings definitions for the quiz module. * Administration settings definitions for the quiz module.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2010 Petr Skoda
* @copyright 2010 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -18,10 +18,9 @@
* This page is the entry page into the quiz UI. Displays information about the * This page is the entry page into the quiz UI. Displays information about the
* quiz to students and teachers, and lets students see their previous attempts. * quiz to students and teachers, and lets students see their previous attempts.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2008 Tim Hunt
* @copyright 2008 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* This page prints a summary of a quiz attempt before it is submitted. * This page prints a summary of a quiz attempt before it is submitted.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2009 The Open University
* @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Unit tests for the quiz class. * Unit tests for the quiz class.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 2008 The Open University
* @copyright 2008 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */

View file

@ -17,10 +17,9 @@
/** /**
* Quiz statistics report version information. * Quiz statistics report version information.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,10 +18,9 @@
* This page is the entry page into the quiz UI. Displays information about the * This page is the entry page into the quiz UI. Displays information about the
* quiz to students and teachers, and lets students see their previous attempts. * quiz to students and teachers, and lets students see their previous attempts.
* *
* @package mod * @package mod_quiz
* @subpackage quiz * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */