Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Static Public Member Functions | Public Attributes | List of all members
report_progress\local\helper Class Reference

Static Public Member Functions

static get_activities_to_show (\completion_info $completion, string $activityinclude, string $activityorder)
 Get activities information by the activity include and activity order option.
 

Public Attributes

const COMPLETION_REPORT_PAGE = 25
 The default number of results to be shown per page.
 

Member Function Documentation

◆ get_activities_to_show()

static report_progress\local\helper::get_activities_to_show ( \completion_info  $completion,
string  $activityinclude,
string  $activityorder 
)
static

Get activities information by the activity include and activity order option.

Parameters
completion_info$completionCompletion information of course.
string$activityincludeActivity type for filtering.
string$activityorderActivity sort option.
Return values
arrayThe available activity types and activities array after filtering and sorting.
Exceptions
coding_exception

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