Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Class standard_action_bar. More...
Public Member Functions | |
__construct (int $cmid, bool $viewcompletion, ?int $startpage=null, ?int $courseid=null) | |
standard_action_bar constructor. | |
export_for_template (renderer_base $output) | |
Export the data so it can be used as the context for a mustache template. | |
get_items () | |
Return the items to be used in the tertiary nav. | |
Class standard_action_bar.
The default tertiary nav on the module landing page
mod_feedback\output\standard_action_bar::__construct | ( | int | $cmid, |
bool | $viewcompletion, | ||
?int | $startpage = null, | ||
?int | $courseid = null ) |
standard_action_bar constructor.
int | $cmid | |
bool | $viewcompletion | Whether or not the user can finish the feedback |
int | null | $startpage | The page to resume with. |
int | null | $courseid | The course that the feedback is being accessed from. If null, courseid will be set via the $cmid relationship |
|
inherited |
Export the data so it can be used as the context for a mustache template.
renderer_base | $output |
array |
Implements templatable.
mod_feedback\output\standard_action_bar::get_items | ( | ) |
Return the items to be used in the tertiary nav.
array |
Reimplemented from mod_feedback\output\base_action_bar.