This is the external method for getting the information needed to present an attempts report.
More...
|
static | execute (int $h5pactivityid, ?array $userids=[]) |
| Return user attempts information in a h5p activity.
|
|
static | execute_parameters () |
| Webservice parameters.
|
|
static | execute_returns () |
| Describes the get_h5pactivity_access_information return value.
|
|
static | export_user_attempts (report_attempts $report, int $userid) |
| Export attempts data for a specific user.
|
|
static | get_user_attempts_returns () |
| Describes the get_h5pactivity_access_information return value.
|
|
This is the external method for getting the information needed to present an attempts report.
- Since
- Moodle 3.9
- Copyright
- 2020 Ferran Recio ferra.nosp@m.n@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static mod_h5pactivity\external\get_attempts::execute |
( |
int | $h5pactivityid, |
|
|
?array | $userids = [] ) |
|
static |
Return user attempts information in a h5p activity.
- Exceptions
-
- Parameters
-
int | $h5pactivityid | The h5p activity id |
int[] | null | $userids | The user ids (if no provided $USER will be used) |
- Return values
-
◆ execute_parameters()
static mod_h5pactivity\external\get_attempts::execute_parameters |
( |
| ) |
|
|
static |
Webservice parameters.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static mod_h5pactivity\external\get_attempts::execute_returns |
( |
| ) |
|
|
static |
Describes the get_h5pactivity_access_information return value.
- Return values
-
external_single_structure | |
◆ export_user_attempts()
static mod_h5pactivity\external\get_attempts::export_user_attempts |
( |
report_attempts | $report, |
|
|
int | $userid ) |
|
static |
Export attempts data for a specific user.
- Parameters
-
report_attempts | $report | the report attempts object |
int | $userid | the user id |
- Return values
-
◆ get_user_attempts_returns()
static mod_h5pactivity\external\get_attempts::get_user_attempts_returns |
( |
| ) |
|
|
static |
Describes the get_h5pactivity_access_information return value.
- Return values
-
external_single_structure | |
The documentation for this class was generated from the following file: