Detailed Description
Definition at line 33 of file lib.php.
Member Function Documentation
hook to allow plagiarism specific information to be returned unformatted
- Parameters:
-
| int | $cmid | |
| int | $userid | |
| object | $file | moodle file object |
- Returns:
- array containing at least:
- 'analyzed' - whether the file has been successfully analyzed
- 'score' - similarity score - ('' if not known)
- 'reporturl' - url of originality report - '' if unavailable
Definition at line 53 of file lib.php.
hook to add plagiarism specific settings to a module settings page
- Parameters:
-
| object | $mform | - Moodle form |
| object | $context | - current context |
Definition at line 61 of file lib.php.
hook to allow plagiarism specific information to be displayed beside a submission
- Parameters:
-
| array | $linkarraycontains | all relevant information for the plugin to generate a link |
- Returns:
- string
Definition at line 40 of file lib.php.
hook for cron
Definition at line 87 of file lib.php.
hook to allow a disclosure to be printed notifying users what will happen with their submission
- Parameters:
-
| int | $cmid | - course module id |
- Returns:
- string
Definition at line 73 of file lib.php.
hook to allow status of submitted files to be updated - called on grading/report pages.
- Parameters:
-
| object | $course | - full Course object |
| object | $cm | - full cm object |
Definition at line 81 of file lib.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/plagiarism/lib.php