Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
assignfeedback_editpdf

Files

file  annotation.php
 This file contains the annotation class for the assignfeedback_editpdf plugin.
 
file  backup_assignfeedback_editpdf_subplugin.class.php
 This file contains the backup code for the feedback_editpdf plugin.
 
file  behat_assignfeedback_editpdf.php
 Behat editpdf-related steps definitions.
 
file  combined_document.php
 This file contains the combined document class for the assignfeedback_editpdf plugin.
 
file  comment.php
 This file contains the comment class for the assignfeedback_editpdf plugin.
 
file  comments_quick_list.php
 This file contains the functions for managing a users comments quicklist.
 
file  convert_submissions.php
 A scheduled task.
 
file  document_services.php
 This file contains the ingest manager for the assignfeedback_editpdf plugin.
 
file  events.php
 EditPDF event handler definition.
 
file  install.php
 Install code for the feedback_editpdf module.
 
file  lib.php
 This file contains the version information for the comments feedback plugin.
 
file  locallib.php
 This file contains the definition for the library class for PDF feedback plugin.
 
file  observer.php
 An event observer.
 
file  page_editor.php
 This file contains the editor class for the assignfeedback_editpdf plugin.
 
file  pdf.php
 Library code for manipulating PDFs.
 
file  provider.php
 Privacy class for requesting user data.
 
file  renderer.php
 This file contains the definition for the library class for edit PDF renderer.
 
file  restore_assignfeedback_editpdf_subplugin.class.php
 This file contains the restore code for the feedback_editpdf plugin.
 
file  settings.php
 Settings for assignfeedback PDF plugin.
 
file  tasks.php
 Definition of editpdf scheduled tasks.
 
file  upgrade.php
 Upgrade code for the feedback_editpdf module.
 
file  version.php
 This file contains the version information for the comments feedback plugin.
 
file  widget.php
 This file contains the definition for the library class for edit PDF renderer.
 

Namespaces

namespace  assignfeedback_editpdf
  
 
namespace  assignfeedback_editpdf\event
  
 
namespace  assignfeedback_editpdf\privacy
  
 
namespace  assignfeedback_editpdf\task
  
 

Classes

class  assign_feedback_editpdf
 library class for editpdf feedback plugin extending feedback plugin base class More...
 
class  assignfeedback_editpdf\annotation
 This class adds and removes annotations from a page of a response. More...
 
class  assignfeedback_editpdf\combined_document
 The combined_document class for the assignfeedback_editpdf plugin. More...
 
class  assignfeedback_editpdf\comment
 This class represents a comment box on a page of feedback. More...
 
class  assignfeedback_editpdf\comments_quick_list
 This class performs crud operations on a users quicklist comments. More...
 
class  assignfeedback_editpdf\document_services
 Functions for generating the annotated pdf. More...
 
class  assignfeedback_editpdf\event\observer
 An event observer. More...
 
class  assignfeedback_editpdf\page_editor
 This class performs crud operations on comments and annotations from a page of a response. More...
 
class  assignfeedback_editpdf\pdf
 Library code for manipulating PDFs. More...
 
class  assignfeedback_editpdf\privacy\provider
 Privacy class for requesting user data. More...
 
class  assignfeedback_editpdf\task\convert_submissions
 Simple task to convert submissions to pdf in the background. More...
 
class  assignfeedback_editpdf_renderer
 A custom renderer class that extends the plugin_renderer_base and is used by the editpdf feedback plugin. More...
 
class  assignfeedback_editpdf_widget
 A custom renderer class that extends the plugin_renderer_base and is used by the editpdf feedback plugin. More...
 
class  backup_assignfeedback_editpdf_subplugin
 Provides the information to backup feedback pdf annotations. More...
 
class  behat_assignfeedback_editpdf
 
class  restore_assignfeedback_editpdf_subplugin
 Restore subplugin class. More...
 

Functions

 assignfeedback_editpdf_pluginfile ($course, $cm, context $context, $filearea, $args, $forcedownload, array $options=array())
 Serves assignment feedback and other files. More...
 
 xmldb_assignfeedback_editpdf_install ()
 EditPDF install code.
 
 xmldb_assignfeedback_editpdf_upgrade ($oldversion)
 EditPDF upgrade code. More...
 

Variables

global assignfeedback_editpdf::$CFG
 
 $description = get_string('stampsdesc', 'assignfeedback_editpdf')
 
 $link = html_writer::link($url, get_string('testgs', 'assignfeedback_editpdf'))
 
 $name = 'assignfeedback_editpdf/stamps'
 
 $observers
 
 $plugin = 2020060900
 
 $setting
 
 $systempathlink = html_writer::link($systempathslink, get_string('systempaths', 'admin'))
 
 $systempathslink = new moodle_url('/admin/settings.php', array('section' => 'systempaths'))
 
 $tasks
 
 $title = get_string('stamps','assignfeedback_editpdf')
 
 $url = new moodle_url('/mod/assign/feedback/editpdf/testgs.php')
 
$plugin component = 'assignfeedback_editpdf'
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ assignfeedback_editpdf_pluginfile()

assignfeedback_editpdf_pluginfile (   $course,
  $cm,
context  $context,
  $filearea,
  $args,
  $forcedownload,
array  $options = array() 
)

Serves assignment feedback and other files.

Parameters
mixed$coursecourse or id of the course
mixed$cmcourse module or id of the course module
context$context
string$filearea
array$args
bool$forcedownload
array$options- List of options affecting file serving.
Return values
boolfalse if file not found, does not return if found - just send the file

◆ xmldb_assignfeedback_editpdf_upgrade()

xmldb_assignfeedback_editpdf_upgrade (   $oldversion)

EditPDF upgrade code.

Parameters
int$oldversion
Return values
bool

Variable Documentation

◆ $observers

$observers
Initial value:
= array(
array(
'eventname' => '\mod_assign\event\submission_created',
'callback' => '\assignfeedback_editpdf\event\observer::submission_created',
),
array(
'eventname' => '\mod_assign\event\submission_updated',
'callback' => '\assignfeedback_editpdf\event\observer::submission_updated',
),
)

◆ $setting

$setting
Initial value:
= new admin_setting_configstoredfile($name, $title, $description, 'stamps', 0,
array('maxfiles' => 8, 'accepted_types' => array('image')))
Class used for uploading of one file into file storage, the file name is stored in config table.
Definition: adminlib.php:10484

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => 'assignfeedback_editpdf\task\convert_submissions',
'blocking' => 0,
'minute' => '*/15',
'hour' => '*',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
),
)