Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
assignfeedback_editpdf\comment Class Reference

This class represents a comment box on a page of feedback. More...

Public Member Functions

 __construct (\stdClass $record=null)
 Convert a compatible stdClass into an instance of a comment.
 

Public Attributes

string $colour = 'yellow'
 colour - One of red, yellow, green, blue, white
 
int $draft = 1
 draft status, default 1 = true
 
int $gradeid = 0
 gradeid for this annotation
 
int $id = 0
 unique id for this annotation
 
int $pageno = 0
 page number for this annotation
 
string $rawtext = ''
 The comment text.
 
int $width = 120
 width of the comment box
 
int $x = 0
 starting location in pixels.
 
int $y = 0
 starting location in pixels.
 

Detailed Description

This class represents a comment box on a page of feedback.

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

Constructor & Destructor Documentation

◆ __construct()

assignfeedback_editpdf\comment::__construct ( \stdClass $record = null)

Convert a compatible stdClass into an instance of a comment.

Parameters
stdClass$record

Member Data Documentation

◆ $x

int assignfeedback_editpdf\comment::$x = 0

starting location in pixels.

Image resolution is 100 pixels per inch

◆ $y

int assignfeedback_editpdf\comment::$y = 0

starting location in pixels.

Image resolution is 100 pixels per inch


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