◆ delete_gradingform_for_context()
static core_grading\privacy\gradingform_provider::delete_gradingform_for_context |
( |
\context |
$context | ) |
|
|
static |
◆ delete_gradingform_for_userid()
static core_grading\privacy\gradingform_provider::delete_gradingform_for_userid |
( |
int |
$userid, |
|
|
context |
$context |
|
) |
| |
|
static |
A call to this method should delete user data (where practicle) from the userid and context.
- Deprecated:
- since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface
- Todo:
- MDL-63167 Remove this file.
- Parameters
-
int | $userid | The user to delete. |
context | $context | the context to refine the deletion. |
◆ get_gradingform_export_data()
static core_grading\privacy\gradingform_provider::get_gradingform_export_data |
( |
\context |
$context, |
|
|
|
$definition, |
|
|
int |
$userid |
|
) |
| |
|
static |
This method is used to export any user data this sub-plugin has using the object to get the context and userid.
- Deprecated:
- since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface
- Todo:
- MDL-63167 Remove this file.
- Parameters
-
context | $context | Context owner of the data. |
stdClass | $definition | Grading definition entry to export. |
int | $userid | The user whose information is to be exported. |
- Return values
-
stdClass | The data to export. |
The documentation for this interface was generated from the following file: