Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: