Plagiarism API
Draft document
 This documentation is currently in-progress. You can help by contributing edits to this page.
Overview
The Plagiarism API is a core set of functions that all Moodle code can use to send user submitted content to Plagiarism Prevention systems
A typical user story:
- When Plagiarism tools are enabled, every module that allows it will have a group of settings added to allow management of sending the user content to a plagiarism service.
 - A user enters some content/submits a file inside a module that a teacher/Admin has configured the tool to be used.
 - An Event is triggered which contains details about the user, module and submission they have made
 - Event handlers in the Plagiarism plugin are triggered and process anything required.
 - Hooks for displaying information returned from the Plagiarism tools to both the user and teacher (controlled by the plugin)
 
Supported Modules
- Assignment
 - Forum
 - Workshop