Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
plagiarismlib.php File Reference

plagiarismlib.php - Contains core Plagiarism related functions. More...

Functions

 plagiarism_get_file_results ($cmid, $userid, $file)
 returns array of plagiarism details about specified file
 
 plagiarism_get_form_elements_module ($mform, $context, $modulename="")
 adds the list of plagiarism settings to a form - called inside modules that have enabled plagiarism
 
if(!defined( 'MOODLE_INTERNAL')) plagiarism_get_links ($linkarray)
 displays the similarity score and provides a link to the full report if allowed.
 
 plagiarism_load_available_plugins ()
 Helper function - also loads lib file of plagiarism plugin.
 
 plagiarism_print_disclosure ($cmid)
 Function that prints the student disclosure notifying that the files will be checked for plagiarism.
 
 plagiarism_save_form_elements ($data)
 saves/updates plagiarism settings from a modules config page - called by course/modedit.php
 
 plagiarism_update_status ($course, $cm)
 Allows a plagiarism plugin to print a button/link at the top of activity overview report pages.
 

Detailed Description

plagiarismlib.php - Contains core Plagiarism related functions.

Since
Moodle 2.0

@subpackage plagiarism

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later