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

Static Public Member Functions

static execute (array $courseids)
 Returns a list of h5p activities in a provided list of courses.
 
static execute_parameters ()
 Parameters.
 
static execute_returns ()
 Describes the get_h5pactivities_by_courses return value.
 

Member Function Documentation

◆ execute()

static mod_h5pactivity\external\get_h5pactivities_by_courses::execute ( array $courseids)
static

Returns a list of h5p activities in a provided list of courses.

If no list is provided all h5p activities that the user can view will be returned.

Parameters
array$courseidscourse ids
Return values
arrayof h5p activities and warnings
Since
Moodle 3.9

◆ execute_parameters()

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

Parameters.

Return values
external_function_parameters

◆ execute_returns()

static mod_h5pactivity\external\get_h5pactivities_by_courses::execute_returns ( )
static

Describes the get_h5pactivities_by_courses return value.

Return values
external_single_structure
Since
Moodle 3.9

The documentation for this class was generated from the following file: