first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<basic_lti_link xmlns="http://www.imsglobal.org/xsd/imsbasiclti_v1p0"
xmlns:lticm ="http://www.imsglobal.org/xsd/imslticm_v1p0"
xmlns:lticp ="http://www.imsglobal.org/xsd/imslticp_v1p0"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imsbasiclti_v1p0 imsbasiclti_v1p0p1.xsd
http://www.imsglobal.org/xsd/imslticm_v1p0 imslticm_v1p0.xsd
http://www.imsglobal.org/xsd/imslticp_v1p0 imslticp_v1p0.xsd">
<title>Example tool</title>
<description>Example tool description</description>
<extensions platform="my.lms.com">
<lticm:property name="icon_url">http://download.moodle.org/unittest/test.jpg</lticm:property>
<lticm:property name="secure_icon_url">https://download.moodle.org/unittest/test.jpg</lticm:property>
</extensions>
<launch_url>http://www.example.com/lti/provider.php</launch_url>
<secure_launch_url>https://www.example.com/lti/provider.php</secure_launch_url>
<icon>http://download.moodle.org/unittest/test.jpg</icon>
<secure_icon>https://download.moodle.org/unittest/test.jpg</secure_icon>
<vendor>
<lticp:code>moodle.org</lticp:code>
<lticp:name>Moodle</lticp:name>
<lticp:description>Moodle Learning Management System Example Cartridge</lticp:description>
<lticp:url>http://www.moodle.org/</lticp:url>
<lticp:contact>
<lticp:email>moodle@example.com</lticp:email>
</lticp:contact>
</vendor>
</basic_lti_link>
+49
View File
@@ -0,0 +1,49 @@
<?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 mod_lti edit_form
*
* @package mod_lti
* @copyright 2023 Jackson D'Souza <jackson.dsouza@catalyst-eu.net>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since Moodle 4.3
*/
defined('MOODLE_INTERNAL') || die();
global $CFG;
require_once($CFG->dirroot . '/mod/lti/edit_form.php');
/**
* Testing fixture.
*
* @package mod_lti
* @copyright 2023 Jackson D'Souza <jackson.dsouza@catalyst-eu.net>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since Moodle 4.3
*/
class test_edit_form extends \mod_lti_edit_types_form {
/**
* Expose the internal moodleform's MoodleQuickForm
*
* @return MoodleQuickForm
*/
public function get_quick_form() {
return $this->_form;
}
}
+33
View File
@@ -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/>.
/**
* Testing fixture.
*
* @package mod_lti
* @copyright 2016 John Okely
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
?>
<html>
<head>
<title>Tool provider</title>
</head>
<body>
<p>This represents a tool provider</p>
</body>
</html>