Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_feedback\output\edit_action_bar Class Reference
Inheritance diagram for mod_feedback\output\edit_action_bar:
mod_feedback\output\base_action_bar renderable templatable

Public Member Functions

 __construct (int $cmid, moodle_url $pageurl, ?int $lastposition=null)
 edit_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 for the tertiary nav.
 

Protected Attributes

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
 

Constructor & Destructor Documentation

◆ __construct()

mod_feedback\output\edit_action_bar::__construct ( int $cmid,
moodle_url $pageurl,
?int $lastposition = null )

edit_action_bar constructor.

Parameters
int$cmidThe course module id
moodle_url$pageurlThe current page url
int | null$lastpositionIndex of the last question in the feedback

Member Function Documentation

◆ 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
renderer_base$output
Return values
array

Implements templatable.

◆ get_items()

mod_feedback\output\edit_action_bar::get_items ( )

Return the items to be used for the tertiary nav.

Return values
array

Reimplemented from mod_feedback\output\base_action_bar.


The documentation for this class was generated from the following file: