Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
workshop_feedback_author Class Reference

Renderable feedback for the author of submission. More...

Inheritance diagram for workshop_feedback_author:
workshop_feedback renderable

Public Member Functions

 __construct (stdClass $submission)
 Extracts feedback from the given submission record.
 
 get_content ()
 
 get_format ()
 
 get_provider ()
 

Protected Attributes

string $content = null
 the feedback text
 
int $format = null
 format of the feedback text
 
stdClass $provider = null
 the user info
 

Detailed Description

Renderable feedback for the author of submission.

Constructor & Destructor Documentation

◆ __construct()

workshop_feedback_author::__construct ( stdClass $submission)

Extracts feedback from the given submission record.

Parameters
stdClass$submissionrecord as returned by {
See also
self\get_submission_by_id()}

Member Function Documentation

◆ get_content()

workshop_feedback::get_content ( )
inherited
Return values
stringthe feedback text

◆ get_format()

workshop_feedback::get_format ( )
inherited
Return values
intformat of the feedback text

◆ get_provider()

workshop_feedback::get_provider ( )
inherited
Return values
stdClassthe user info

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