Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
mod_feedback\output\summary Class Reference

Class to help display feedback summary. More...

Inheritance diagram for mod_feedback\output\summary:
renderable templatable

Public Member Functions

 __construct ($feedbackstructure, $mygroupid=false, $extradetails=false)
 Constructor. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

Protected Attributes

bool $extradetails
 
mod_feedback_structure $feedbackstructure
 
int $mygroupid
 

Detailed Description

Class to help display feedback summary.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_feedback\output\summary::__construct (   $feedbackstructure,
  $mygroupid = false,
  $extradetails = false 
)

Constructor.

Parameters
mod_feedback_structure$feedbackstructure
int$mygroupidcurrently selected group
bool$extradetailsdisplay additional details (time open, time closed)

Member Function Documentation

◆ export_for_template()

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

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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