Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

File containing the class activity navigation renderable.

Copyright: 2017 Mark Nelson <markn@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 129 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

activity_navigation:: (2 methods):
  __construct()
  export_for_template()


Class: activity_navigation  - X-Ref

The class activity navigation renderable.

__construct($prevmod, $nextmod, $activitylist = array()   X-Ref
Constructor.

param: \cm_info|null $prevmod The previous module to display, null if none.
param: \cm_info|null $nextmod The next module to display, null if none.
param: array $activitylist The list of activity URLs (as key) and names (as value) for the activity dropdown menu.

export_for_template(\renderer_base $output)   X-Ref
Export this data so it can be used as the context for a mustache template.

param: \renderer_base $output Renderer base.
return: \stdClass