Provider for the plagiarism API.  
 More...
|  | 
| static | delete_plagiarism_for_context (\context $context) | 
|  | Delete all user information for the provided context. 
 | 
|  | 
| static | delete_plagiarism_for_user (int $userid, context $context) | 
|  | Delete all user information for the provided user and context. 
 | 
|  | 
| static | export_plagiarism_user_data (int $userid, context $context, array $subcontext, array $linkarray) | 
|  | Export all plagiarism data from each plagiarism plugin for the specified userid and context. 
 | 
|  | 
Provider for the plagiarism API. 
- Copyright
- 2018 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ delete_plagiarism_for_context()
  
  | 
        
          | static core_plagiarism\privacy\plagiarism_provider::delete_plagiarism_for_context | ( | \context | $context | ) |  |  | static | 
 
Delete all user information for the provided context. 
- Parameters
- 
  
    | context | $context | The context to delete user data for. |  
 
 
 
◆ delete_plagiarism_for_user()
  
  | 
        
          | static core_plagiarism\privacy\plagiarism_provider::delete_plagiarism_for_user | ( | int | $userid, |  
          |  |  | context | $context ) |  | static | 
 
Delete all user information for the provided user and context. 
- Parameters
- 
  
    | int | $userid | The user to delete |  | context | $context | The context to refine the deletion. |  
 
 
 
◆ export_plagiarism_user_data()
  
  | 
        
          | static core_plagiarism\privacy\plagiarism_provider::export_plagiarism_user_data | ( | int | $userid, |  
          |  |  | context | $context, |  
          |  |  | array | $subcontext, |  
          |  |  | array | $linkarray ) |  | static | 
 
Export all plagiarism data from each plagiarism plugin for the specified userid and context. 
- Parameters
- 
  
    | int | $userid | The user to export. |  | context | $context | The context to export. |  | array | $subcontext | The subcontext within the context to export this information to. |  | array | $linkarray | The weird and wonderful link array used to display information for a specific item |  
 
 
 
The documentation for this interface was generated from the following file: