Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Provider for the portfolio API. More...
Static Public Member Functions | |
static | delete_portfolio_for_context (\context $context) |
Delete all user information for the provided context. More... | |
static | delete_portfolio_for_user (int $userid, context $context) |
Delete all user information for the provided user and context. More... | |
static | export_portfolio_user_data (int $userid, context $context, array $subcontext, array $linkarray) |
Export all portfolio data from each portfolio plugin for the specified userid and context. More... | |
Provider for the portfolio API.
|
static |
Delete all user information for the provided context.
context | $context | The context to delete user data for. |
Implemented in portfolio_picasa\privacy\provider, portfolio_mahara\privacy\provider, portfolio_googledocs\privacy\provider, portfolio_flickr\privacy\provider, and portfolio_boxnet\privacy\provider.
|
static |
Delete all user information for the provided user and context.
int | $userid | The user to delete |
context | $context | The context to refine the deletion. |
Implemented in portfolio_picasa\privacy\provider, portfolio_mahara\privacy\provider, portfolio_googledocs\privacy\provider, portfolio_flickr\privacy\provider, and portfolio_boxnet\privacy\provider.
|
static |
Export all portfolio data from each portfolio plugin for the specified userid and context.
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 |
Implemented in portfolio_picasa\privacy\provider, portfolio_mahara\privacy\provider, portfolio_googledocs\privacy\provider, portfolio_flickr\privacy\provider, and portfolio_boxnet\privacy\provider.