Skip to content

Commit

Permalink
MDL-20636 Remove © from all PHPdoc comments, and tidy them up a …
Browse files Browse the repository at this point in the history
…bit.
  • Loading branch information
timhunt committed Feb 21, 2011
1 parent 8032cd7 commit b04a431
Show file tree
Hide file tree
Showing 21 changed files with 156 additions and 87 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/simpletest/testaccessrules.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Unit tests for (some of) mod/quiz/accessrules.php.
*
* @copyright © 2008 The Open University
* @copyright 2008 The Open University
* @author T.J.Hunt@open.ac.uk
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package quiz
Expand Down
15 changes: 9 additions & 6 deletions question/type/calculated/edit_calculated_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@
/**
* Defines the editing form for the calculated question type.
*
* @copyright © 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage calculated
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


/**
* calculated editing form definition.
* Calculated editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_edit_calculated_form extends question_edit_form {
/**
Expand Down
12 changes: 7 additions & 5 deletions question/type/calculatedmulti/edit_calculatedmulti_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
/**
* Defines the editing form for the calculated question type.
*
* @copyright © 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage calculatedmult
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* calculated editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_edit_calculatedmulti_form extends question_edit_form {
/**
Expand Down
17 changes: 12 additions & 5 deletions question/type/calculatedsimple/edit_calculatedsimple_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@
/**
* Defines the editing form for the calculated simplequestion type.
*
* @copyright © 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage calculatedsimple
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


/**
* Editing form for the calculated simplequestion type.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_edit_calculatedsimple_form extends question_edit_form {
/**
Expand Down
9 changes: 6 additions & 3 deletions question/type/description/edit_description_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,18 @@
/**
* Defines the editing form for the description question type.
*
* @package qtype
* @package qtype
* @subpackage description
* @copyright © 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @copyright 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


/**
* Description editing form definition.
*
* @copyright 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_description_edit_form extends question_edit_form {
/**
Expand Down
9 changes: 4 additions & 5 deletions question/type/edit_question_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.


/**
* A base class for question editing forms.
*
* @package moodlecore
* @package core
* @subpackage questiontypes
* @copyright &copy; 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/


Expand All @@ -32,7 +31,7 @@
* class that inherits from this one, and implements the definition_inner()
* method.
*
* @copyright &copy; 2006 The Open University
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
abstract class question_edit_form extends moodleform {
Expand Down
15 changes: 9 additions & 6 deletions question/type/essay/edit_essay_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@
/**
* Defines the editing form for the essay question type.
*
* @copyright &copy; 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage essay
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


/**
* essay editing form definition.
* Essay question type editing form.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_essay_edit_form extends question_edit_form {
public function qtype() {
Expand Down
31 changes: 25 additions & 6 deletions question/type/match/edit_match_form.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
<?php

// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Defines the editing form for the match question type.
*
* @copyright &copy; 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage match
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


/**
* match editing form definition.
* Match question type editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_match_edit_form extends question_edit_form {

Expand Down
12 changes: 7 additions & 5 deletions question/type/multianswer/edit_multianswer_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
/**
* Defines the editing form for the multianswer question type.
*
* @copyright &copy; 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage multianswer
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/

/**
* multianswer editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
class question_edit_multianswer_form extends question_edit_form {

Expand Down
10 changes: 5 additions & 5 deletions question/type/multichoice/edit_multichoice_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
/**
* Defines the editing form for the multiple choice question type.
*
* @package qtype
* @package qtype
* @subpackage multichoice
* @copyright &copy; 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Multiple choice editing form definition.
*
* @copyright &copy; 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2007 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_multichoice_edit_form extends question_edit_form {
/**
Expand Down
12 changes: 7 additions & 5 deletions question/type/numerical/edit_numerical_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@
/**
* Defines the editing form for the numerical question type.
*
* @copyright &copy; 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage numerical
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* numerical editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_edit_numerical_form extends question_edit_form {

Expand Down
32 changes: 28 additions & 4 deletions question/type/numerical/simpletest/testquestiontype.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,43 @@
<?php

// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Unit tests for (some of) question/type/numerical/questiontype.php.
*
* @copyright &copy; 2006 The Open University
* @author T.J.Hunt@open.ac.uk
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package question
* @package qtype
* @subpackage numerical
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}

require_once($CFG->dirroot . '/question/type/numerical/questiontype.php');


/**
* Unit tests for question/type/numerical/questiontype.php.
*
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_numerical_qtype_test extends UnitTestCase {
public static $includecoverage = array('question/type/questiontype.php', 'question/type/numerical/questiontype.php');
var $tolerance = 0.00000001;
Expand Down
8 changes: 4 additions & 4 deletions question/type/opaque/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
/**
* The questiontype class for the Opaque question type.
*
* @package qtype
* @package qtype
* @subpackage opaque
* @copyright &copy; 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require_once(dirname(__FILE__) . '/locallib.php');

/**
* The Opaque question type.
*
* @copyright &copy; 2006 The Open University
* @copyright 2006 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qtype_opaque extends question_type {
Expand Down
7 changes: 3 additions & 4 deletions question/type/questionbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.


/**
* This file defines the class {@link question_definition} and its subclasses.
*
* @package moodlecore
* @package moodlecore
* @subpackage questiontypes
* @copyright 2009 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2009 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/


Expand Down
12 changes: 7 additions & 5 deletions question/type/random/edit_random_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
/**
* Defines the editing form for the random question type.
*
* @copyright &copy; 2007 Jamie Pratt
* @author Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questionbank
* @subpackage questiontypes
* @package qtype
* @subpackage random
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* random editing form definition.
*
* @copyright 2007 Jamie Pratt me@jamiep.org
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class question_edit_random_form extends question_edit_form {
/**
Expand Down
Loading

0 comments on commit b04a431

Please sign in to comment.