|
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.
|
|
|
const | COMPLETION_REPORT_PAGE = 25 |
| The default number of results to be shown per page.
|
|
◆ 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 | $completion | Completion information of course. |
string | $activityinclude | Activity type for filtering. |
string | $activityorder | Activity sort option. |
int | $activitysection | Section number for filtering. |
- Return values
-
array | The available activity types and activities array after filtering and sorting. |
- Exceptions
-
The documentation for this class was generated from the following file:
- report/progress/classes/local/helper.php