Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
assignfeedback_file

Files

file  access.php
 Capability definitions for this module.
 
file  backup_assignfeedback_file_subplugin.class.php
 This file contains the backup code for the feedback_file plugin.
 
file  batchuploadfilesform.php
 This file contains the forms to create and edit an instance of this module.
 
file  importzipform.php
 This file contains the forms to create and edit an instance of this module.
 
file  importziplib.php
 This file contains the definition for the library class for file feedback plugin.
 
file  install.php
 Post-install code for the assignfeedback_file module.
 
file  lib.php
 This file contains the moodle hooks for the feedback file plugin.
 
file  locallib.php
 This file contains the definition for the library class for file feedback plugin.
 
file  provider.php
 Privacy class for requesting user data.
 
file  renderable.php
 This file contains a renderer for the assignment class.
 
file  renderer.php
 This file contains a renderer for the assignment class.
 
file  restore_assignfeedback_file_subplugin.class.php
 This file contains the restore code for the feedback_file plugin.
 
file  settings.php
 This file defines the admin settings for this plugin.
 
file  upgrade.php
 Upgrade code for the feedback_file module.
 
file  uploadzipform.php
 This file contains the forms to create and edit an instance of this module.
 
file  version.php
 This file contains the version information for the comments feedback plugin.
 

Namespaces

 assignfeedback_file\privacy
  
 

Classes

class  assign_feedback_file
 Library class for file feedback plugin extending feedback plugin base class. More...
 
class  assignfeedback_file\privacy\provider
 Privacy class for requesting user data. More...
 
class  assignfeedback_file_batch_upload_files_form
 Assignment grading options form. More...
 
class  assignfeedback_file_import_summary
 A renderable summary of the zip import. More...
 
class  assignfeedback_file_import_zip_form
 Import zip form. More...
 
class  assignfeedback_file_renderer
 A custom renderer class that extends the plugin_renderer_base and is used by the assign module. More...
 
class  assignfeedback_file_upload_zip_form
 Upload feedback zip. More...
 
class  assignfeedback_file_zip_importer
 library class for importing feedback files from a zip More...
 
class  backup_assignfeedback_file_subplugin
 Provides the information to backup feedback files. More...
 
class  restore_assignfeedback_file_subplugin
 Restore subplugin class. More...
 

Functions

 assignfeedback_file_pluginfile ($course, $cm, context $context, $filearea, $args, $forcedownload, array $options=array())
 Serves assignment feedback and other files. More...
 
 xmldb_assignfeedback_file_install ()
 Code run after the assignfeedback_file module database tables have been created. More...
 
 xmldb_assignfeedback_file_upgrade ($oldversion)
 Stub for upgrade code. More...
 

Variables

 $capabilities = array()
 
const ASSIGNFEEDBACK_FILE_BATCH_FILEAREA 'feedback_files_batch'
 
const ASSIGNFEEDBACK_FILE_FILEAREA 'feedback_files'
 
const ASSIGNFEEDBACK_FILE_IMPORT_FILEAREA 'feedback_files_import'
 
const ASSIGNFEEDBACK_FILE_MAXFILEUNZIPTIME 120
 
const ASSIGNFEEDBACK_FILE_MAXSUMMARYFILES 5
 
const ASSIGNFEEDBACK_FILE_MAXSUMMARYUSERS 5
 
$plugin component = 'assignfeedback_file'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ assignfeedback_file_pluginfile()

assignfeedback_file_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_file_install()

xmldb_assignfeedback_file_install ( )

Code run after the assignfeedback_file module database tables have been created.

Moves the feedback file plugin down

Return values
bool

◆ xmldb_assignfeedback_file_upgrade()

xmldb_assignfeedback_file_upgrade (   $oldversion)

Stub for upgrade code.

Parameters
int$oldversion
Return values
bool