Privacy Subsystem for enrol_lti.  
 More...
◆ delete_data_for_all_users_in_context()
  
  | 
        
          | static enrol_lti\privacy\provider::delete_data_for_all_users_in_context | ( | \context | $context | ) |  |  | static | 
 
 
◆ delete_data_for_user()
◆ delete_data_for_users()
  
  | 
        
          | static enrol_lti\privacy\provider::delete_data_for_users | ( | approved_userlist | $userlist | ) |  |  | static | 
 
 
◆ export_user_data()
◆ get_contexts_for_userid()
  
  | 
        
          | static enrol_lti\privacy\provider::get_contexts_for_userid | ( | int | $userid | ) |  |  | static | 
 
Get the list of contexts that contain user information for the specified user. 
- Parameters
- 
  
    | int | $userid | The user to search. |  
 
- Return values
- 
  
    | contextlist | The contextlist containing the list of contexts used in this plugin. |  
 
Implements core_privacy\local\request\core_user_data_provider.
 
 
◆ get_metadata()
  
  | 
        
          | static enrol_lti\privacy\provider::get_metadata | ( | collection | $items | ) |  |  | static | 
 
Return the fields which contain personal data. 
- Parameters
- 
  
    | collection | $items | a reference to the collection to use to store the metadata. |  
 
- Return values
- 
  
    | collection | the updated collection of metadata items. |  
 
Implements core_privacy\local\metadata\provider.
 
 
◆ get_users_in_context()
  
  | 
        
          | static enrol_lti\privacy\provider::get_users_in_context | ( | userlist | $userlist | ) |  |  | static | 
 
 
◆ recordset_loop_and_export()
  
  | 
        
          | static enrol_lti\privacy\provider::recordset_loop_and_export | ( | \moodle_recordset | $recordset, |  
          |  |  |  | $splitkey, |  
          |  |  |  | $initial, |  
          |  |  | callable | $reducer, |  
          |  |  | callable | $export ) |  | staticprotected | 
 
Loop and export from a recordset. 
- Parameters
- 
  
    | moodle_recordset | $recordset | The recordset. |  | string | $splitkey | The record key to determine when to export. |  | mixed | $initial | The initial data to reduce from. |  | callable | $reducer | The function to return the dataset, receives current dataset, and the current record. |  | callable | $export | The function to export the dataset, receives the last value from $splitkey and the dataset. |  
 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file: