Output the action buttons for this activity.
More...
|
int | $currentpage |
| The currently viewed lesson page id.
|
|
lesson | $lesson |
| The lesson object.
|
|
Output the action buttons for this activity.
- Copyright
- 2021 Adrian Greeve adria.nosp@m.n@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_lesson\output\edit_action_buttons::__construct |
( |
\lesson | $lesson, |
|
|
?int | $currentpage = null ) |
Constructor for this object.
- Parameters
-
lesson | $lesson | The lesson object. |
int | null | $currentpage | The current lesson page that is being viewed |
◆ export_for_template()
mod_lesson\output\edit_action_buttons::export_for_template |
( |
\renderer_base | $output | ) |
|
Data for use with a template.
- Parameters
-
renderer_base | $output | Renderer information. |
- Return values
-
◆ set_currentpage()
mod_lesson\output\edit_action_buttons::set_currentpage |
( |
?int | $page | ) |
|
Sets the current page being viewed.
- Parameters
-
The documentation for this class was generated from the following file:
- mod/lesson/classes/output/edit_action_buttons.php