File tree 5 files changed +13
-1
lines changed 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ public static function get_metadata(collection $collection): collection {
57
57
'pagetype ' => 'privacy:metadata:bookmarks:pagetype ' ,
58
58
'pagetitle ' => 'privacy:metadata:bookmarks:pagetitle ' ,
59
59
'pageurl ' => 'privacy:metadata:bookmarks:pageurl ' ,
60
+ 'itemtype ' => 'privacy:metadata:bookmarks:itemtype ' ,
61
+ 'itemid ' => 'privacy:metadata:bookmarks:itemid ' ,
60
62
'timemodified ' => 'privacy:metadata:bookmarks:timemodified '
61
63
];
62
64
$ collection ->add_database_table ('ltool_bookmarks_data ' , $ bookmarksmetadata , 'privacy:metadata:bookmarksmetadata ' );
@@ -205,6 +207,8 @@ public static function export_user_data(approved_contextlist $contextlist) {
205
207
'pagetitle ' => $ record ->pagetitle ,
206
208
'pagetype ' => $ record ->pagetype ,
207
209
'pageurl ' => $ record ->pageurl ,
210
+ 'itemtype ' => $ record ->itemtype ,
211
+ 'itemid ' => $ record ->itemid ,
208
212
'timecreated ' => ($ record ->timecreated ) ? transform::datetime ($ record ->timecreated ) : '- ' ,
209
213
];
210
214
}, $ records );
Original file line number Diff line number Diff line change 41
41
$ string ['privacy:metadata:bookmarks:pagetype ' ] = 'Bookmarked pagetype ' ;
42
42
$ string ['privacy:metadata:bookmarks:pagetitle ' ] = 'Page title of Bookmarked page ' ;
43
43
$ string ['privacy:metadata:bookmarks:pageurl ' ] = 'Bookmarked page url ' ;
44
+ $ string ['privacy:metadata:bookmarks:itemtype ' ] = 'Bookmarked item type ' ;
45
+ $ string ['privacy:metadata:bookmarks:itemid ' ] = 'Bookmarked item id ' ;
44
46
$ string ['privacy:metadata:bookmarks:timecreated ' ] = 'Time of the bookmarks created ' ;
45
47
$ string ['privacy:metadata:bookmarks:timemodified ' ] = 'Time of the bookmarks modified ' ;
46
48
$ string ['privacy:metadata:bookmarksmetadata ' ] = 'List of users data stored in bookmarks subplugin ' ;
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ public static function get_metadata(collection $collection): collection {
60
60
'pagetitle ' => 'privacy:metadata:note:pagetitle ' ,
61
61
'pageurl ' => 'privacy:metadata:note:pageurl ' ,
62
62
'note ' => 'privacy:metadata:note:note ' ,
63
+ 'itemtype ' => 'privacy:metadata:note:itemtype ' ,
64
+ 'itemid ' => 'privacy:metadata:note:itemid ' ,
63
65
'timecreated ' => 'privacy:metadata:note:timecreated ' ,
64
66
'timemodified ' => 'privacy:metadata:note:timemodified '
65
67
];
@@ -207,6 +209,8 @@ public static function export_user_data(approved_contextlist $contextlist) {
207
209
'pagetype ' => $ note ->pagetype ,
208
210
'pageurl ' => $ note ->pageurl ,
209
211
'note ' => $ note ->note ,
212
+ 'itemtype ' => $ note ->itemtype ,
213
+ 'itemid ' => $ note ->itemid ,
210
214
'timecreated ' => ($ note ->timecreated ) ? transform::datetime ($ note ->timecreated ) : '- ' ,
211
215
'timemodified ' => ($ note ->timemodified ) ? transform::datetime ($ note ->timemodified ) : '- ' ,
212
216
];
Original file line number Diff line number Diff line change 42
42
$ string ['privacy:metadata:note:pagetype ' ] = 'Note created pagetype ' ;
43
43
$ string ['privacy:metadata:note:pagetitle ' ] = 'Page title of the note created page ' ;
44
44
$ string ['privacy:metadata:note:pageurl ' ] = 'Note created page url ' ;
45
+ $ string ['privacy:metadata:bookmarks:itemtype ' ] = 'Note item type ' ;
46
+ $ string ['privacy:metadata:bookmarks:itemid ' ] = 'Note item id ' ;
45
47
$ string ['privacy:metadata:note:note ' ] = 'User entered note content. ' ;
46
48
$ string ['privacy:metadata:note:timecreated ' ] = 'Time of the note created ' ;
47
49
$ string ['privacy:metadata:note:timemodified ' ] = 'Time of the note modified ' ;
Original file line number Diff line number Diff line change 24
24
defined ('MOODLE_INTERNAL ' ) || die ();
25
25
26
26
$ plugin ->component = 'local_learningtools ' ;
27
- $ plugin ->version = 2025051500 ;
27
+ $ plugin ->version = 2025051501 ;
28
28
$ plugin ->release = 'v1.2 ' ;
29
29
$ plugin ->requires = 2022041900 ; // Moodle 4.0.
30
30
$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments