Changed PHPDocs and added date to the copyright to match Moodle coding guidelines

This commit is contained in:
Mark Nelson 2013-07-22 13:06:18 +08:00
parent b0ad1ff25b
commit 5203d81980
40 changed files with 78 additions and 118 deletions

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Customcert module capability definition * Customcert module capability definition
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Definition of log events * Definition of log events
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Definition of sub-plugins. * Definition of sub-plugins.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Edit the customcert settings. * Edit the customcert settings.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Edit a customcert element. * Edit a customcert element.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -27,7 +26,7 @@ MoodleQuickForm::registerElementType('customcert_colourpicker',
* The form for handling editing a customcert element. * The form for handling editing a customcert element.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class mod_customcert_edit_element_form extends moodleform { class mod_customcert_edit_element_form extends moodleform {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -27,7 +26,7 @@ MoodleQuickForm::registerElementType('customcert_colourpicker',
* The form for handling the layout of the customcert instance. * The form for handling the layout of the customcert instance.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class mod_customcert_edit_form extends moodleform { class mod_customcert_edit_form extends moodleform {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_code', language 'en'. * Strings for component 'customcertelement_code', language 'en'.
* *
* @package customcertelement_code * @package customcertelement_code
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->dirroot . '/mod/customcert/element/element.class.php');
* The customcert element code's core interaction API. * The customcert element code's core interaction API.
* *
* @package customcertelement_code * @package customcertelement_code
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_code extends customcert_element_base { class customcert_element_code extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the code plugin. * This file contains the version information for the code plugin.
* *
* @package customcertelement_code * @package customcertelement_code
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_date', language 'en'. * Strings for component 'customcertelement_date', language 'en'.
* *
* @package customcertelement_date * @package customcertelement_date
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -34,7 +33,7 @@ define('CUSTOMCERT_DATE_COMPLETION', '2');
* The customcert element date's core interaction API. * The customcert element date's core interaction API.
* *
* @package customcertelement_date * @package customcertelement_date
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_date extends customcert_element_base { class customcert_element_date extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the date plugin. * This file contains the version information for the date plugin.
* *
* @package customcertelement_date * @package customcertelement_date
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
require_once($CFG->dirroot . '/mod/customcert/includes/tcpdf_colors.php'); require_once($CFG->dirroot . '/mod/customcert/includes/tcpdf_colors.php');
@ -21,7 +20,7 @@ require_once($CFG->dirroot . '/mod/customcert/includes/tcpdf_colors.php');
* The base class for the customcert elements. * The base class for the customcert elements.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_grade', language 'en'. * Strings for component 'customcertelement_grade', language 'en'.
* *
* @package customcertelement_grade * @package customcertelement_grade
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -31,7 +30,7 @@ define('CUSTOMCERT_GRADE_COURSE', '0');
* The customcert element grade's core interaction API. * The customcert element grade's core interaction API.
* *
* @package customcertelement_grade * @package customcertelement_grade
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_grade extends customcert_element_base { class customcert_element_grade extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the grade plugin. * This file contains the version information for the grade plugin.
* *
* @package customcertelement_grade * @package customcertelement_grade
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_image', language 'en'. * Strings for component 'customcertelement_image', language 'en'.
* *
* @package customcertelement_image * @package customcertelement_image
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->dirroot . '/mod/customcert/element/element.class.php');
* The customcert element image's core interaction API. * The customcert element image's core interaction API.
* *
* @package customcertelement_image * @package customcertelement_image
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_image extends customcert_element_base { class customcert_element_image extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the image plugin. * This file contains the version information for the image plugin.
* *
* @package customcertelement_image * @package customcertelement_image
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_studentname', language 'en'. * Strings for component 'customcertelement_studentname', language 'en'.
* *
* @package customcertelement_studentname * @package customcertelement_studentname
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->dirroot . '/mod/customcert/element/element.class.php');
* The customcert element studentname's core interaction API. * The customcert element studentname's core interaction API.
* *
* @package customcertelement_studentname * @package customcertelement_studentname
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_studentname extends customcert_element_base { class customcert_element_studentname extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the studentname plugin. * This file contains the version information for the studentname plugin.
* *
* @package customcertelement_studentname * @package customcertelement_studentname
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_text', language 'en'. * Strings for component 'customcertelement_text', language 'en'.
* *
* @package customcertelement_text * @package customcertelement_text
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->dirroot . '/mod/customcert/element/element.class.php');
* The customcert element text's core interaction API. * The customcert element text's core interaction API.
* *
* @package customcertelement_text * @package customcertelement_text
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_text extends customcert_element_base { class customcert_element_text extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the text plugin. * This file contains the version information for the text plugin.
* *
* @package customcertelement_text * @package customcertelement_text
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component 'customcertelement_userfield', language 'en'. * Strings for component 'customcertelement_userfield', language 'en'.
* *
* @package customcertelement_userfield * @package customcertelement_userfield
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -24,7 +23,7 @@ require_once($CFG->libdir . '/conditionlib.php');
* The customcert element userfield's core interaction API. * The customcert element userfield's core interaction API.
* *
* @package customcertelement_userfield * @package customcertelement_userfield
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class customcert_element_userfield extends customcert_element_base { class customcert_element_userfield extends customcert_element_base {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the userfield plugin. * This file contains the version information for the userfield plugin.
* *
* @package customcertelement_userfield * @package customcertelement_userfield
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once("HTML/QuickForm/text.php");
* Form element for handling the colour picker. * Form element for handling the colour picker.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class MoodleQuickForm_customcert_colourpicker extends HTML_QuickForm_text { class MoodleQuickForm_customcert_colourpicker extends HTML_QuickForm_text {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Language strings for the customcert module. * Language strings for the customcert module.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Customcert module core interaction API. * Customcert module core interaction API.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Handles loading a customcert template. * Handles loading a customcert template.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->libdir . '/formslib.php');
* The form for loading customcert templates. * The form for loading customcert templates.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class mod_customcert_load_template_form extends moodleform { class mod_customcert_load_template_form extends moodleform {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -24,7 +23,7 @@ require_once($CFG->dirroot.'/mod/customcert/lib.php');
* Instance add/edit form. * Instance add/edit form.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class mod_customcert_mod_form extends moodleform_mod { class mod_customcert_mod_form extends moodleform_mod {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -19,7 +18,7 @@
* Handles viewing a report that shows who has received a customcert. * Handles viewing a report that shows who has received a customcert.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Handles saving customcert templates. * Handles saving customcert templates.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');
@ -23,7 +22,7 @@ require_once($CFG->libdir . '/formslib.php');
* The form for handling saving customcert templates. * The form for handling saving customcert templates.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */
class mod_customcert_save_template_form extends moodleform { class mod_customcert_save_template_form extends moodleform {

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -13,13 +12,13 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// //
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Code fragment to define the version of the customcert module * Code fragment to define the version of the customcert module
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
*/ */

View file

@ -1,5 +1,4 @@
<?php <?php
// This file is part of the customcert module for Moodle - http://moodle.org/ // This file is part of the customcert module for Moodle - http://moodle.org/
// //
// Moodle is free software: you can redistribute it and/or modify // Moodle is free software: you can redistribute it and/or modify
@ -19,7 +18,7 @@
* Handles viewing a customcert. * Handles viewing a customcert.
* *
* @package mod_customcert * @package mod_customcert
* @copyright Mark Nelson <markn@moodle.com> * @copyright 2013 Mark Nelson <markn@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
*/ */