Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
fbf4eaee
Commit
fbf4eaee
authored
Oct 25, 2018
by
Andrew Nicols
Browse files
Merge branch 'MDL-63679-master' of
git://github.com/mihailges/moodle
parents
c31ac0f5
cc2b9d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/lti/service/memberships/classes/privacy/provider.php
View file @
fbf4eaee
...
...
@@ -27,6 +27,8 @@ namespace ltiservice_memberships\privacy;
use
\
core_privacy\local\metadata\collection
;
use
\
core_privacy\local\request\contextlist
;
use
\
core_privacy\local\request\approved_contextlist
;
use
\
core_privacy\local\request\userlist
;
use
\
core_privacy\local\request\approved_userlist
;
defined
(
'MOODLE_INTERNAL'
)
||
die
();
...
...
@@ -37,8 +39,9 @@ defined('MOODLE_INTERNAL') || die();
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
provider
implements
\
core_privacy\local\metadata\provider
,
\
core_privacy\local\request\plugin\provider
{
\
core_privacy\local\metadata\provider
,
\
core_privacy\local\request\core_userlist_provider
,
\
core_privacy\local\request\plugin\provider
{
/**
* Returns meta data about this system.
...
...
@@ -69,6 +72,14 @@ class provider implements
return
new
contextlist
();
}
/**
* Get the list of users who have data within a context.
*
* @param userlist $userlist The userlist containing the list of users who have data in this context/plugin combination.
*/
public
static
function
get_users_in_context
(
userlist
$userlist
)
{
}
/**
* Export all user data for the specified user, in the specified contexts.
*
...
...
@@ -85,6 +96,14 @@ class provider implements
public
static
function
delete_data_for_all_users_in_context
(
\
context
$context
)
{
}
/**
* Delete multiple users within a single context.
*
* @param approved_userlist $userlist The approved context and user information to delete information for.
*/
public
static
function
delete_data_for_users
(
approved_userlist
$userlist
)
{
}
/**
* Delete all user data for the specified user, in the specified contexts.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment