Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_h5pactivity\external\log_report_viewed Class Reference
Inheritance diagram for mod_h5pactivity\external\log_report_viewed:

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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_exceptionif the user cannot see the report
Parameters
int$h5pactivityidThe h5p activity id
int | null$useridThe user id
int | null$attemptidThe attempt id
Return values
arrayof 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: