This is the external method for logging that the h5pactivity was viewed.  
 More...
|  | 
| 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. 
 | 
|  | 
This is the external method for logging that the h5pactivity was viewed. 
- Copyright
- 2021 Ilya Tregubov ilya@.nosp@m.mood.nosp@m.le.co.nosp@m.m 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
- Since
- Moodle 3.11 
◆ 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
- 
  
  
- 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: