Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
workshop_feedback_reviewer Class Reference

Renderable feedback for the reviewer. More...

Inheritance diagram for workshop_feedback_reviewer:
workshop_feedback renderable

Public Member Functions

 __construct (stdClass $assessment)
 Extracts feedback from the given assessment 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 reviewer.

Constructor & Destructor Documentation

◆ __construct()

workshop_feedback_reviewer::__construct ( stdClass $assessment)

Extracts feedback from the given assessment record.

Parameters
stdClass$assessmentrecord as returned by eg {
See also
self\get_assessment_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: