MDL-21249 improved php docs package+subpackage info in mod/lesson

This commit is contained in:
Petr Skoda 2010-07-25 10:54:39 +00:00
parent 21b8089c8b
commit cc3dbaaa30
45 changed files with 198 additions and 153 deletions

View file

@ -18,9 +18,10 @@
/** /**
* This file contains the backup task for the lesson module * This file contains the backup task for the lesson module
* *
* @package moodlecore * @package mod
* @copyright 2010 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2010 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
/** /**
@ -30,8 +31,8 @@ require_once($CFG->dirroot . '/mod/lesson/backup/moodle2/backup_lesson_stepslib.
/** /**
* The backup task class for the lesson module * The backup task class for the lesson module
* @copyright 2010 Sam Hemelryk * @copyright 2010 Sam Hemelryk
* @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 backup_lesson_activity_task extends backup_activity_task { class backup_lesson_activity_task extends backup_activity_task {

View file

@ -49,16 +49,17 @@
* UL->user level info * UL->user level info
* files->table may have files) * files->table may have files)
* *
* @package moodlecore * @package mod
* @copyright 2010 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2010 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
/** /**
* Structure step class that informs a backup task how to backup the lesson module. * Structure step class that informs a backup task how to backup the lesson module.
* *
* @copyright 2010 Sam Hemelryk * @copyright 2010 Sam Hemelryk
* @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 backup_lesson_activity_structure_step extends backup_activity_structure_step { class backup_lesson_activity_structure_step extends backup_activity_structure_step {

View file

@ -18,9 +18,10 @@
/** /**
* Lesson's backup routine * Lesson's backup routine
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
// This is the "graphical" structure of the lesson mod: // This is the "graphical" structure of the lesson mod:

View file

@ -18,9 +18,10 @@
/** /**
* Action for processing page answers by users * Action for processing page answers by users
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
/** Require the specific libraries */ /** Require the specific libraries */

View file

@ -20,9 +20,10 @@
* *
* For naming conventions, see lib/db/access.php. * For naming conventions, see lib/db/access.php.
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -21,9 +21,10 @@
* * lib.php/modulename_install() post installation hook * * lib.php/modulename_install() post installation hook
* * partially defaults.php * * partially defaults.php
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 o * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 o
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -36,9 +36,10 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 o * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 o
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Provides the interface for overall authoring of lessons * Provides the interface for overall authoring of lessons
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
require_once('../../config.php'); require_once('../../config.php');

View file

@ -18,9 +18,10 @@
/** /**
* Action for adding a question page. Prints an HTML form. * Action for adding a question page. Prints an HTML form.
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
require_once("../../config.php"); require_once("../../config.php");

View file

@ -18,9 +18,10 @@
/** /**
* Generic forms used for page selection * Generic forms used for page selection
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
@ -28,8 +29,8 @@ defined('MOODLE_INTERNAL') || die();
/** /**
* Question selection form * Question selection form
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_add_page_form_selection extends lesson_add_page_form_base { class lesson_add_page_form_selection extends lesson_add_page_form_base {

View file

@ -18,9 +18,10 @@
/** /**
* Provides the interface for grading essay questions * Provides the interface for grading essay questions
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
require_once('../../config.php'); require_once('../../config.php');

View file

@ -18,9 +18,10 @@
/** /**
* Essay grading form * Essay grading form
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
/** /**
@ -33,8 +34,8 @@ require_once($CFG->libdir.'/formslib.php');
/** /**
* Essay grading form * Essay grading form
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 essay_grading_form extends moodleform { class essay_grading_form extends moodleform {

View file

@ -21,9 +21,10 @@
* *
* Included by import.ph * Included by import.ph
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Grade.php * Grade.php
* *
* @package lesson * @package mod
* @subpackage lesson
* @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,9 +18,10 @@
/** /**
* Provides the interface for viewing and adding high scores * Provides the interface for viewing and adding high scores
* *
* @package lesson * @package mod
* @subpackage lesson
* @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
**/ **/
/** include required files */ /** include required files */

View file

@ -18,9 +18,10 @@
/** /**
* Imports lesson pages * Imports lesson pages
* *
* @package lesson * @package mod
* @subpackage lesson
* @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
**/ **/
require_once("../../config.php"); require_once("../../config.php");

View file

@ -18,17 +18,18 @@
/** /**
* Form used to select a file and file format for the import * Form used to select a file and file format for the import
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Form used to select a file and file format for the import * Form used to select a file and file format for the import
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_import_form extends moodleform { class lesson_import_form extends moodleform {

View file

@ -24,9 +24,10 @@
* *
* The script supports book and lesson. * The script supports book and lesson.
* *
* @package lesson * @package mod
* @subpackage lesson
* @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
**/ **/
/** include required files */ /** include required files */

View file

@ -19,9 +19,10 @@
* Contains functions used by importppt.php that naturally pertain to importing * Contains functions used by importppt.php that naturally pertain to importing
* powerpoint presentations into the lesson module * powerpoint presentations into the lesson module
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
@ -205,8 +206,8 @@ function lesson_create_objects($pageobjects, $lessonid) {
/** /**
* Form displayed to the user asking them to select a file to upload * Form displayed to the user asking them to select a file to upload
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_importppt_form extends moodleform { class lesson_importppt_form extends moodleform {

View file

@ -18,9 +18,10 @@
/** /**
* This page lists all the instances of lesson in a particular course * This page lists all the instances of lesson in a particular course
* *
* @package lesson * @package mod
* @subpackage lesson
* @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
**/ **/
/** Include required files */ /** Include required files */

View file

@ -18,9 +18,10 @@
/** /**
* Strings for component 'lesson', language 'en', branch 'MOODLE_20_STABLE' * Strings for component 'lesson', language 'en', branch 'MOODLE_20_STABLE'
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['accesscontrol'] = 'Access control'; $string['accesscontrol'] = 'Access control';

View file

@ -23,9 +23,10 @@
* delete * delete
* move * move
* moveit * moveit
* @package lesson * @package mod
* @subpackage lesson
* @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
**/ **/
require_once("../../config.php"); require_once("../../config.php");

View file

@ -18,9 +18,10 @@
/** /**
* Standard library of functions and constants for lesson * Standard library of functions and constants for lesson
* *
* @package lesson * @package mod
* @subpackage lesson
* @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

@ -19,9 +19,10 @@
* Local library file for Lesson. These are non-standard functions that are used * Local library file for Lesson. These are non-standard functions that are used
* only by Lesson. * only by Lesson.
* *
* @package lesson * @package mod
* @subpackage lesson
* @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 late * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
/** Make sure this isn't being directly accessed */ /** Make sure this isn't being directly accessed */
@ -645,8 +646,8 @@ function lesson_get_media_html($lesson, $context) {
* OR if it has a special requirement on creation it can extend construction_override * OR if it has a special requirement on creation it can extend construction_override
* *
* @abstract * @abstract
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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
*/ */
abstract class lesson_add_page_form_base extends moodleform { abstract class lesson_add_page_form_base extends moodleform {
@ -883,8 +884,8 @@ abstract class lesson_add_page_form_base extends moodleform {
* @property int $firstpageid Id of the first page of this lesson (prevpageid=0) * @property int $firstpageid Id of the first page of this lesson (prevpageid=0)
* @property int $lastpageid Id of the last page of this lesson (nextpageid=0) * @property int $lastpageid Id of the last page of this lesson (nextpageid=0)
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson extends lesson_base { class lesson extends lesson_base {
@ -1539,8 +1540,8 @@ class lesson extends lesson_base {
* or set via magic methods, or alternatively by defining methods get_blah() or * or set via magic methods, or alternatively by defining methods get_blah() or
* set_blah() within the extending object. * set_blah() within the extending object.
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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
*/ */
abstract class lesson_base { abstract class lesson_base {
@ -1657,8 +1658,8 @@ abstract class lesson_base {
* @property-read typestring The string that describes this page type * @property-read typestring The string that describes this page type
* *
* @abstract * @abstract
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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
*/ */
abstract class lesson_page extends lesson_base { abstract class lesson_page extends lesson_base {
@ -2509,8 +2510,8 @@ abstract class lesson_page extends lesson_base {
* @property string $answer The answer itself * @property string $answer The answer itself
* @property string $response The response the user sees if selecting this answer * @property string $response The response the user sees if selecting this answer
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_page_answer extends lesson_base { class lesson_page_answer extends lesson_base {
@ -2551,8 +2552,8 @@ class lesson_page_answer extends lesson_base {
* The first time the page type manager is retrieved the it includes all of the * The first time the page type manager is retrieved the it includes all of the
* different page types located in mod/lesson/pagetypes. * different page types located in mod/lesson/pagetypes.
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_page_type_manager { class lesson_page_type_manager {

View file

@ -21,9 +21,10 @@
* If there is a way to use the resource class instead of this code, please change to do so * If there is a way to use the resource class instead of this code, please change to do so
* *
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
require_once('../../config.php'); require_once('../../config.php');

View file

@ -19,9 +19,10 @@
* Form to define a new instance of lesson or edit an instance. * Form to define a new instance of lesson or edit an instance.
* It is used from /course/modedit.php. * It is used from /course/modedit.php.
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Branch Table * Branch Table
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Cluster * Cluster
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* End of branch table * End of branch table
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* End of cluster * End of cluster
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Essay * Essay
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Matching * Matching
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Multichoice * Multichoice
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Numerical * Numerical
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Short answer * Short answer
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* True/false * True/false
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* jjg7:8/9/2004 * jjg7:8/9/2004
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Moodle renderer used to display special elements of the lesson module * Moodle renderer used to display special elements of the lesson module
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* Displays the lesson statistics. * Displays the lesson statistics.
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
require_once('../../config.php'); require_once('../../config.php');

View file

@ -18,9 +18,10 @@
/** /**
* This php script contains all the stuff to restore lesson mods * This php script contains all the stuff to restore lesson mods
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
//This is the "graphical" structure of the lesson mod: //This is the "graphical" structure of the lesson mod:

View file

@ -18,9 +18,10 @@
/** /**
* Settings used by the lesson module, were moved from mod_edit * Settings used by the lesson module, were moved from mod_edit
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
defined('MOODLE_INTERNAL') || die; defined('MOODLE_INTERNAL') || die;

View file

@ -20,9 +20,10 @@
* *
* This file was adapted from the mod/quiz/tabs.php * This file was adapted from the mod/quiz/tabs.php
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -19,9 +19,10 @@
* Code fragment to define the version of lesson * Code fragment to define the version of lesson
* This fragment is called by moodle_needs_upgrading() and /admin/index.php * This fragment is called by moodle_needs_upgrading() and /admin/index.php
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();

View file

@ -18,9 +18,10 @@
/** /**
* This page prints a particular instance of lesson * This page prints a particular instance of lesson
* *
* @package lesson * @package mod
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or late
**/ **/
require_once(dirname(__FILE__) . '/../../config.php'); require_once(dirname(__FILE__) . '/../../config.php');

View file

@ -18,9 +18,10 @@
/** /**
* Lesson page without answers * Lesson page without answers
* *
* @package lesson * @package mod
* @copyright 2009 Sam Hemelryk * @subpackage lesson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/ **/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
@ -34,8 +35,8 @@ require_once($CFG->libdir.'/formslib.php');
/** /**
* Lesson page without answers * Lesson page without answers
* *
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @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 lesson_page_without_answers extends moodleform { class lesson_page_without_answers extends moodleform {