Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
report_progress\local\helper Class Reference

Static Public Member Functions

static get_activities_to_show (\completion_info $completion, string $activityinclude, string $activityorder, int $activitysection=-1)
 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,
int $activitysection = -1 )
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.
int$activitysectionSection number for filtering.
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: