Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: