Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
portfolio_mahara\privacy\provider Class Reference

Provider for the portfolio_mahara plugin. More...

Inheritance diagram for portfolio_mahara\privacy\provider:

Static Public Member Functions

static delete_portfolio_for_context (\context $context)
 Delete all user information for the provided context.
 
static delete_portfolio_for_user (int $userid, context $context)
 Delete all user information for the provided user and context.
 
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.
 
static get_metadata (collection $collection)
 Returns meta data about this system.
 

Detailed Description

Provider for the portfolio_mahara plugin.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ delete_portfolio_for_context()

static portfolio_mahara\privacy\provider::delete_portfolio_for_context ( \context $context)
static

Delete all user information for the provided context.

Parameters
context$contextThe context to delete user data for.

Implements core_portfolio\privacy\portfolio_provider.

◆ delete_portfolio_for_user()

static portfolio_mahara\privacy\provider::delete_portfolio_for_user ( int $userid,
context $context )
static

Delete all user information for the provided user and context.

Parameters
int$useridThe user to delete
context$contextThe context to refine the deletion.

Implements core_portfolio\privacy\portfolio_provider.

◆ export_portfolio_user_data()

static portfolio_mahara\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$useridThe user to export.
context$contextThe context to export.
array$subcontextThe subcontext within the context to export this information to.
array$linkarrayThe weird and wonderful link array used to display information for a specific item

Implements core_portfolio\privacy\portfolio_provider.

◆ get_metadata()

static portfolio_mahara\privacy\provider::get_metadata ( collection $collection)
static

Returns meta data about this system.

Parameters
collection$collectionThe initialised collection to add items to.
Return values
collectionA listing of user data stored through this system.

Implements core_privacy\local\metadata\provider.


The documentation for this class was generated from the following file: