Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
report_progress\local\helper Class Reference

Helper for report progress. More...

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.
 

Detailed Description

Helper for report progress.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL Juv3 or later

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: