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

Static Public Member Functions

static execute (int $h5pactivityid, $sortorder='id ASC', ?int $page=0, ?int $perpage=0, $firstinitial='', $lastinitial='')
 Return user attempts information in a h5p activity.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Describes the get_h5pactivity_access_information return value.
 

Member Function Documentation

◆ execute()

static mod_h5pactivity\external\get_user_attempts::execute ( int $h5pactivityid,
$sortorder = 'id ASC',
?int $page = 0,
?int $perpage = 0,
$firstinitial = '',
$lastinitial = '' )
static

Return user attempts information in a h5p activity.

Exceptions
moodle_exceptionif the user cannot see the report
Parameters
int$h5pactivityidThe h5p activity id
int$sortorderThe sort order
int$pagepage number
int$perpageitems per page
int$firstinitialUsers whose first name starts with $firstinitial
int$lastinitialUsers whose last name starts with $lastinitial
Return values
stdClassreport data

◆ execute_parameters()

static mod_h5pactivity\external\get_user_attempts::execute_parameters ( )
static

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

static mod_h5pactivity\external\get_user_attempts::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: