Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
8d76124c
Commit
8d76124c
authored
Apr 03, 2012
by
Tim Hunt
Browse files
MDL-32322 quiz reports: fix up PHP doc comments.
parent
6b4e2d76
Changes
34
Hide whitespace changes
Inline
Side-by-side
mod/quiz/report/default.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Base class for quiz report plugins.
*
* @package mod
* @subpackage quiz
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package mod_quiz
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -39,8 +38,8 @@ defined('MOODLE_INTERNAL') || die();
* to itself - all these will also be globally available. You must
* pass "id=$cm->id" or q=$quiz->id", and "mode=reportname".
*
* @copyright
1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
abstract
class
quiz_default_report
{
const
NO_GROUPS_ALLOWED
=
-
2
;
...
...
mod/quiz/report/grading/db/access.php
View file @
8d76124c
...
...
@@ -17,9 +17,9 @@
/**
* Capability definitions for the quiz manual grading report.
*
* @package
quiz_grading
* @copyright
2010 The Open University
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_grading
* @copyright 2010 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
...
...
mod/quiz/report/grading/gradingsettings_form.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the setting form for the quiz grading report.
*
* @package quiz
* @subpackage grading
* @copyright 2010 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_grading
* @copyright 2010 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
/**
* Quiz grading report settings form.
*
* @copyright
2010 Tim Hunt
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2010 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_grading_settings_form
extends
moodleform
{
protected
$includeauto
;
...
...
mod/quiz/report/grading/lang/en/quiz_grading.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Strings for component 'quiz_grading', language 'en', branch 'MOODLE_20_STABLE'
*
* @package quiz
* @subpackage grading
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_grading
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string
[
'alldoneredirecting'
]
=
'All selected attempts have been graded. Returning to the list of questions.'
;
...
...
mod/quiz/report/grading/report.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the quiz manual grading report class.
*
* @package quiz
* @subpackage grading
* @copyright 2006 Gustav Delius
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_grading
* @copyright 2006 Gustav Delius
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -36,8 +35,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/grading/gradingsettings_form.php'
* - List question that might need manual grading (or optionally all questions).
* - Provide an efficient UI to grade all attempts at a particular question.
*
* @copyright
2006 Gustav Delius
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2006 Gustav Delius
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_grading_report
extends
quiz_default_report
{
const
DEFAULT_PAGE_SIZE
=
5
;
...
...
mod/quiz/report/grading/version.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Quiz grading report version information.
*
* @package quiz
* @subpackage grading
* @copyright 2010 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_grading
* @copyright 2010 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
...
...
mod/quiz/report/overview/db/upgrade.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Quiz overview report upgrade script.
*
* @package quiz
* @subpackage overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
mod/quiz/report/overview/lang/en/quiz_overview.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Strings for component 'quiz_overview', language 'en', branch 'MOODLE_20_STABLE'
*
* @package quiz
* @subpackage overview
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string
[
'allattempts'
]
=
'Show all attempts'
;
...
...
mod/quiz/report/overview/overview_table.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the quiz grades table.
*
* @package quiz
* @subpackage overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -32,8 +31,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/attemptsreport_table.php');
/**
* This is a table subclass for displaying the quiz grades report.
*
* @copyright
2008 Jamie Pratt
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_overview_table
extends
quiz_attempt_report_table
{
...
...
mod/quiz/report/overview/overviewgraph.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file renders the quiz overview graph.
*
* @package quiz
* @subpackage overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
mod/quiz/report/overview/overviewsettings_form.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the setting form for the quiz overview report.
*
* @package quiz
* @subpackage overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
/**
* Quiz overview report settings form.
*
* @copyright
2008 Jamie Pratt
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_overview_settings_form
extends
moodleform
{
...
...
mod/quiz/report/overview/report.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the quiz overview report class.
*
* @package quiz
* @subpackage overview
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -34,8 +33,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/overview/overview_table.php');
/**
* Quiz report subclass for the overview (grades) report.
*
* @copyright
1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_overview_report
extends
quiz_attempt_report
{
...
...
mod/quiz/report/overview/version.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Quiz overview report version information.
*
* @package quiz
* @subpackage overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_overview
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
...
...
mod/quiz/report/reportlib.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Helper functions for the quiz reports.
*
* @package mod
* @subpackage quiz
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package mod_quiz
* @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
mod/quiz/report/responses/lang/en/quiz_responses.php
View file @
8d76124c
...
...
@@ -17,13 +17,11 @@
/**
* Strings for component 'quiz_responses', language 'en', branch 'MOODLE_20_STABLE'
*
* @package quiz
* @subpackage responses
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_responses
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string
[
'cannotloadoptions'
]
=
'Could not load question options'
;
$string
[
'include'
]
=
'Include'
;
$string
[
'pagesize'
]
=
'Page size'
;
...
...
mod/quiz/report/responses/report.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the quiz responses report class.
*
* @package quiz
* @subpackage responses
* @copyright 2006 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_responses
* @copyright 2006 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -42,8 +41,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/responses/responses_table.php');
* Like the overview report, there are options for showing students with/without
* attempts, and for deleting selected attempts.
*
* @copyright
1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_responses_report
extends
quiz_attempt_report
{
...
...
mod/quiz/report/responses/responses_table.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the quiz responses report class.
*
* @package quiz
* @subpackage responses
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_responses
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -32,8 +31,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/attemptsreport_table.php');
/**
* This is a table subclass for displaying the quiz responses report.
*
* @copyright
2008 Jean-Michel Vedrine
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_responses_table
extends
quiz_attempt_report_table
{
...
...
mod/quiz/report/responses/responsessettings_form.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* This file defines the setting form for the quiz responses report.
*
* @package quiz
* @subpackage responses
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_responses
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
...
...
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
/**
* Quiz responses report settings form.
*
* @copyright
2008 Jean-Michel Vedrine
* @license
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
quiz_responses_settings_form
extends
moodleform
{
...
...
mod/quiz/report/responses/version.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Quiz responses report version information.
*
* @package quiz
* @subpackage responses
* @copyright 2011 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package quiz_responses
* @copyright 2011 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
...
...
mod/quiz/report/simpletest/testreportlib.php
View file @
8d76124c
...
...
@@ -17,10 +17,9 @@
/**
* Unit tests for (some of) mod/quiz/report/reportlib.php
*
* @package mod
* @subpackage quiz
* @copyright 2008 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package mod_quiz
* @copyright 2008 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
...
...
@@ -34,8 +33,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/reportlib.php'); // Include the c
/**
* This class contains the test cases for the functions in reportlib.php.
*
* @copyright
2008 Jamie Pratt me@jamiep.org
* @license
http://www.gnu.org/copyleft/gpl.html GNU Public License
* @copyright 2008 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
class
mod_quiz_reportlib_test
extends
UnitTestCase
{
public
static
$includecoverage
=
array
(
'mod/quiz/report/reportlib.php'
);
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment