The class activity navigation renderable.
More...
|
| | __construct ($prevmod, $nextmod, $activitylist=array()) |
| | Constructor.
|
| |
| | export_for_template (\renderer_base $output) |
| | Export this data so it can be used as the context for a mustache template.
|
| |
|
|
url_select | $activitylist = null |
| | The url select object for the activity selector menu.
|
| |
|
action_link | $nextlink = null |
| | The action link object for the next link.
|
| |
|
action_link | $prevlink = null |
| | The action link object for the prev link.
|
| |
The class activity navigation renderable.
- Copyright
- 2017 Mark Nelson markn.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| core_course\output\activity_navigation::__construct |
( |
| $prevmod, |
|
|
| $nextmod, |
|
|
| $activitylist = array() ) |
Constructor.
- Parameters
-
| cm_info | null | $prevmod | The previous module to display, null if none. |
| cm_info | null | $nextmod | The next module to display, null if none. |
| array | $activitylist | The list of activity URLs (as key) and names (as value) for the activity dropdown menu. |
◆ export_for_template()
| core_course\output\activity_navigation::export_for_template |
( |
\renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
| renderer_base | $output | Renderer base. |
- Return values
-
The documentation for this class was generated from the following file:
- course/classes/output/activity_navigation.php