Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
assignfeedback_file

Namespaces

namespace  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.
 
 xmldb_assignfeedback_file_install ()
 Code run after the assignfeedback_file module database tables have been created.
 
 xmldb_assignfeedback_file_upgrade ($oldversion)
 Stub for upgrade code.
 

Variables

 $capabilities = array()
 
 $plugin = 2024041600
 
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 version = 2024042200
 

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