Julio Montoya bdd6eb1b9e Partial merge with 1.11.x see BT#15952 | 5 jaren geleden | |
---|---|---|
.. | ||
Entity | 5 jaren geleden | |
assets | 8 jaren geleden | |
gradebook | 5 jaren geleden | |
lang | 5 jaren geleden | |
src | 5 jaren geleden | |
view | 5 jaren geleden | |
ImsLtiPlugin.php | 5 jaren geleden | |
OAuthSimple.php | 8 jaren geleden | |
README.md | 5 jaren geleden | |
add.php | 6 jaren geleden | |
admin.php | 5 jaren geleden | |
configure.php | 5 jaren geleden | |
create.php | 5 jaren geleden | |
delete.php | 6 jaren geleden | |
edit.php | 5 jaren geleden | |
form.php | 5 jaren geleden | |
install.php | 6 jaren geleden | |
item_return.php | 5 jaren geleden | |
outcome_service.php | 5 jaren geleden | |
plugin.php | 8 jaren geleden | |
start.php | 5 jaren geleden | |
uninstall.php | 6 jaren geleden |
Version 1.5.1 (beta)
This plugin is meant to be later integrated into Chamilo (in a major version release).
IMS/LTI defines the possibility to integrate tools or content into Chamilo. This plugin allows the integration of a new tool into courses, obtaining data back from those tools and recording them as gradebook "external" activities.
As a platform admin, you can register external tools available for all courses. You need set the tools settings in the IMS/LTI administration page. Then the registered tools should be added in each course individually.
As a teacher, you can register external tools available only for the current course. You need follow the link in the IMS/LTI block located in the Course Settings tool. Then select a previously tool registered or register a new external tool.
ImsLti::getSubstitutableParams()
.Run this changes on database:
ALTER TABLE plugin_ims_lti_tool
ADD active_deep_linking TINYINT(1) DEFAULT '0' NOT NULL,
CHANGE id id INT AUTO_INCREMENT NOT NULL,
CHANGE launch_url launch_url VARCHAR(255) NOT NULL;
ALTER TABLE plugin_ims_lti_tool ADD gradebook_eval_id INT DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C82F80D8B
FOREIGN KEY (gradebook_eval_id) REFERENCES gradebook_evaluation (id)
ON DELETE SET NULL;
CREATE INDEX IDX_C5E47F7C82F80D8B ON plugin_ims_lti_tool (gradebook_eval_id);
ALTER TABLE plugin_ims_lti_tool ADD c_id INT DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C91D79BD3
FOREIGN KEY (c_id) REFERENCES course (id);
CREATE INDEX IDX_C5E47F7C91D79BD3 ON plugin_ims_lti_tool (c_id);
ALTER TABLE plugin_ims_lti_tool ADD parent_id INT DEFAULT NULL, DROP is_global;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C727ACA70
FOREIGN KEY (parent_id) REFERENCES plugin_ims_lti_tool (id);
CREATE INDEX IDX_C5E47F7C727ACA70 ON plugin_ims_lti_tool (parent_id);
ALTER TABLE plugin_ims_lti_tool ADD privacy LONGTEXT DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool
CHANGE consumer_key consumer_key VARCHAR(255) DEFAULT NULL,
CHANGE shared_secret shared_secret VARCHAR(255) DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool
DROP FOREIGN KEY FK_C5E47F7C727ACA70,
ADD FOREIGN KEY (parent_id) REFERENCES plugin_ims_lti_tool (id) ON DELETE CASCADE ON UPDATE RESTRICT;