Provider for the portfolio API.  
 More...
|  | 
| static | call_plugin_method ($methodname, $params) | 
|  | Internal method for looping through all of the portfolio plugins and calling a method. 
 | 
|  | 
◆ call_plugin_method()
  
  | 
        
          | static core_portfolio\privacy\provider::call_plugin_method | ( |  | $methodname, |  
          |  |  |  | $params ) |  | staticprotected | 
 
Internal method for looping through all of the portfolio plugins and calling a method. 
- Parameters
- 
  
    | string | $methodname | Name of the method to call on the plugins. |  | array | $params | The parameters that go with the method being called. |  
 
 
 
◆ delete_data_for_all_users_in_context()
  
  | 
        
          | static core_portfolio\privacy\provider::delete_data_for_all_users_in_context | ( | \context | $context | ) |  |  | static | 
 
 
◆ delete_data_for_user()
◆ delete_data_for_users()
  
  | 
        
          | static core_portfolio\privacy\provider::delete_data_for_users | ( | approved_userlist | $userlist | ) |  |  | static | 
 
 
◆ delete_portfolio_for_context()
  
  | 
        
          | static core_portfolio\privacy\provider::delete_portfolio_for_context | ( | \context | $context | ) |  |  | static | 
 
Deletes all user content for a context in all portfolio plugins. 
- Parameters
- 
  
    | context | $context | The context to delete user data for. |  
 
 
 
◆ delete_portfolio_for_user()
  
  | 
        
          | static core_portfolio\privacy\provider::delete_portfolio_for_user | ( | int | $userid, |  
          |  |  | context | $context ) |  | static | 
 
Deletes all user content for a user in a context in all portfolio plugins. 
- Parameters
- 
  
    | int | $userid | The user to delete |  | context | $context | The context to refine the deletion. |  
 
 
 
◆ export_portfolio_user_data()
  
  | 
        
          | static core_portfolio\privacy\provider::export_portfolio_user_data | ( | int | $userid, |  
          |  |  | context | $context, |  
          |  |  | array | $subcontext, |  
          |  |  | array | $linkarray ) |  | static | 
 
Export all portfolio data from each portfolio 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 |  
 
 
 
◆ export_user_data()
◆ get_contexts_for_userid()
  
  | 
        
          | static core_portfolio\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\$contextlist | The contextlist containing the list of contexts used in this plugin. |  
 
Implements core_privacy\local\request\core_user_data_provider.
 
 
◆ get_metadata()
  
  | 
        
          | static core_portfolio\privacy\provider::get_metadata | ( | collection | $collection | ) |  |  | static | 
 
Returns meta data about this system. 
- Parameters
- 
  
    | collection | $collection | The initialised collection to add items to. |  
 
- Return values
- 
  
    | collection | A listing of user data stored through this system. |  
 
Implements core_privacy\local\metadata\provider.
 
 
◆ get_users_in_context()
  
  | 
        
          | static core_portfolio\privacy\provider::get_users_in_context | ( | userlist | $userlist | ) |  |  | static | 
 
 
The documentation for this class was generated from the following file: