|
| static | execute (int $h5pactivityid, array $attemptids=[]) |
| | Return user attempts results information in a h5p activity.
|
| |
| static | execute_parameters () |
| | Webservice parameters.
|
| |
| static | execute_returns () |
| | Describes the get_h5pactivity_access_information return value.
|
| |
◆ execute()
| static mod_h5pactivity\external\get_results::execute |
( |
int | $h5pactivityid, |
|
|
array | $attemptids = [] ) |
|
static |
Return user attempts results information in a h5p activity.
In case an empty array of attempt ids is passed, the method will load all activity attempts from the current user.
- Exceptions
-
| moodle_exception | if the user cannot see the report |
- Parameters
-
| int | $h5pactivityid | The h5p activity id |
| int[] | $attemptids | The attempt ids |
- Return values
-
◆ execute_parameters()
| static mod_h5pactivity\external\get_results::execute_parameters |
( |
| ) |
|
|
static |
Webservice parameters.
- Return values
-
| external_function_parameters | |
◆ execute_returns()
| static mod_h5pactivity\external\get_results::execute_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:
- mod/h5pactivity/classes/external/get_results.php