|
| __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.
|
|
|
int | $cmid |
| $cmid The module id
|
|
object | $context |
| $context The context we are in
|
|
object | $course |
| $course The course we are in
|
|
object | $feedback |
| $feedback The activity record that is being viewed
|
|
array | $urlparams |
| $urlparams The default params to be used when creating urls
|
|
◆ __construct()
mod_feedback\output\standard_action_bar::__construct |
( |
int | $cmid, |
|
|
bool | $viewcompletion, |
|
|
?int | $startpage = null, |
|
|
?int | $courseid = null ) |
standard_action_bar constructor.
- Parameters
-
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 |
◆ export_for_template()
mod_feedback\output\base_action_bar::export_for_template |
( |
renderer_base | $output | ) |
|
|
inherited |
Export the data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
◆ get_items()
mod_feedback\output\standard_action_bar::get_items |
( |
| ) |
|
The documentation for this class was generated from the following file:
- mod/feedback/classes/output/standard_action_bar.php