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

A custom renderer class that extends the plugin_renderer_base and is used by the editpdf feedback plugin. More...

Inheritance diagram for assignfeedback_editpdf_widget:
renderable

Public Member Functions

 __construct ($assignment, $userid, $attemptnumber, $downloadurl, $downloadfilename, $stampfiles, $readonly)
 Constructor. More...
 

Public Attributes

int $assignment = 0
 $assignment - Assignment instance id
 
mixed $attemptnumber = 0
 $attemptnumber - The attempt number we are grading
 
string $downloadfilename = null
 $downloadfilename
 
moodle_url $downloadurl = null
 $downloadurl
 
bool $readonly = true
 $readonly
 
string[] $stampfiles = array()
 $stampfiles
 
int $userid = 0
 $userid - The user id we are grading
 

Detailed Description

A custom renderer class that extends the plugin_renderer_base and is used by the editpdf feedback plugin.

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

Constructor & Destructor Documentation

◆ __construct()

assignfeedback_editpdf_widget::__construct (   $assignment,
  $userid,
  $attemptnumber,
  $downloadurl,
  $downloadfilename,
  $stampfiles,
  $readonly 
)

Constructor.

Parameters
int$assignment- Assignment instance id
int$userid- The user id we are grading
int$attemptnumber- The attempt number we are grading
moodle_url$downloadurl- A url to download the current generated pdf.
string$downloadfilename- Name of the generated pdf.
string[]$stampfiles- The file names of the stamps.
bool$readonly- Show the readonly interface (no tools).

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