|
| static | execute (int $h5pactivityid, ?int $userid=null, ?int $attemptid=null) |
| | Logs that the h5pactivity was viewed.
|
| |
| static | execute_parameters () |
| | Webservice parameters.
|
| |
| static | execute_returns () |
| | Describes the report_viewed return value.
|
| |
◆ execute()
| static mod_h5pactivity\external\log_report_viewed::execute |
( |
int | $h5pactivityid, |
|
|
?int | $userid = null, |
|
|
?int | $attemptid = null ) |
|
static |
Logs that the h5pactivity was viewed.
- Exceptions
-
| moodle_exception | if the user cannot see the report |
- Parameters
-
| int | $h5pactivityid | The h5p activity id |
| int | null | $userid | The user id |
| int | null | $attemptid | The attempt id |
- Return values
-
| array | of warnings and status result |
◆ execute_parameters()
| static mod_h5pactivity\external\log_report_viewed::execute_parameters |
( |
| ) |
|
|
static |
Webservice parameters.
- Return values
-
| external_function_parameters | |
◆ execute_returns()
| static mod_h5pactivity\external\log_report_viewed::execute_returns |
( |
| ) |
|
|
static |
Describes the report_viewed return value.
- Return values
-
| external_single_structure | |
- Since
- Moodle 3.11
The documentation for this class was generated from the following file:
- mod/h5pactivity/classes/external/log_report_viewed.php