Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
assign_gradingmessage Class Reference

Implements a renderable message notification. More...

Inheritance diagram for assign_gradingmessage:
renderable

Public Member Functions

 __construct ($heading, $message, $coursemoduleid, $gradingerror=false, $page=null)
 Constructor. More...
 

Public Attributes

int $coursemoduleid = 0
 $coursemoduleid
 
int $gradingerror = null
 $gradingerror should be set true if there was a problem grading
 
string $heading = ''
 $heading is the heading to display to the user
 
string $message = ''
 $message is the message to display to the user
 

Detailed Description

Implements a renderable message notification.

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

Constructor & Destructor Documentation

◆ __construct()

assign_gradingmessage::__construct (   $heading,
  $message,
  $coursemoduleid,
  $gradingerror = false,
  $page = null 
)

Constructor.

Parameters
string$headingThis is the heading to display
string$messageThis is the message to display
bool$gradingerrorSet to true to display the message as an error.
int$coursemoduleid
int$pageThis is the current quick grading page

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