Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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.
 

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
 
int $page
 the grading page.
 

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: