Differences Between: [Versions 400 and 402] [Versions 401 and 402]
Output the action buttons for this activity.
Copyright: | 2021 Adrian Greeve <adrian@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 113 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
edit_action_buttons:: (3 methods):
__construct()
set_currentpage()
export_for_template()
Class: edit_action_buttons - X-Ref
Output the action buttons for this activity.__construct(\lesson $lesson, ?int $currentpage = null) X-Ref |
Constructor for this object. param: \lesson $lesson The lesson object. param: int|null $currentpage The current lesson page that is being viewed |
set_currentpage(?int $page) X-Ref |
Sets the current page being viewed. param: int|null $page |
export_for_template(\renderer_base $output) X-Ref |
Data for use with a template. param: \renderer_base $output Renderer information. return: array Said data. |