MDL-36224 LTI: Fix up docs, add plugininfo class and create subplugin folder.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* LTI source plugin info.
|
||||
*
|
||||
* @package mod_lti
|
||||
* @copyright 2013 Damyon Wiese
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
namespace mod_lti\plugininfo;
|
||||
|
||||
use core\plugininfo\base, core_plugin_manager, moodle_url;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
|
||||
class ltisource extends base {
|
||||
//
|
||||
}
|
||||
@@ -18,8 +18,7 @@
|
||||
/**
|
||||
* LTI subplugin types declaration
|
||||
*
|
||||
* @package mod
|
||||
* @subpackage lti
|
||||
* @package mod_lti
|
||||
* @copyright 2012 Mark Nielsen
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
@@ -28,4 +27,4 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$subplugins = array(
|
||||
'ltisource' => 'mod/lti/source',
|
||||
);
|
||||
);
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
// 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/>.
|
||||
|
||||
/**
|
||||
* Readme file for local customisations
|
||||
*
|
||||
* @package mod_lti
|
||||
* @copyright 2012 Mark Nielsen
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
LTI Source plugins directory
|
||||
==============================
|
||||
This directory contains LTI source plugins which are plugins that can register custom handlers
|
||||
to process lti messages.
|
||||
Reference in New Issue
Block a user