Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_feedback\output\base_action_bar Class Reference
Inheritance diagram for mod_feedback\output\base_action_bar:
renderable templatable mod_feedback\output\edit_action_bar mod_feedback\output\edit_template_action_bar mod_feedback\output\responses_action_bar mod_feedback\output\standard_action_bar

Public Member Functions

 __construct (int $cmid)
 base_action_bar constructor.
 
 export_for_template (renderer_base $output)
 Export the data so it can be used as the context for a mustache template.
 

Protected Member Functions

 get_items ()
 Function to generate a list of renderables to be displayed.
 

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\base_action_bar::__construct ( int $cmid)

base_action_bar constructor.

Parameters
int$cmid

Member Function Documentation

◆ export_for_template()

mod_feedback\output\base_action_bar::export_for_template ( renderer_base $output)

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\base_action_bar::get_items ( )
abstractprotected

Function to generate a list of renderables to be displayed.

Return values
array

Reimplemented in mod_feedback\output\edit_action_bar, mod_feedback\output\edit_template_action_bar, mod_feedback\output\responses_action_bar, and mod_feedback\output\standard_action_bar.


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