Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
Namespaces | Classes | Functions | Variables
assignfeedback_comments

Namespaces

namespace  assignfeedback_comments\privacy
  
 

Classes

class  assign_feedback_comments
 Library class for comment feedback plugin extending feedback plugin base class. More...
 
class  assignfeedback_comments\privacy\provider
 Privacy class for requesting user data. More...
 
class  backup_assignfeedback_comments_subplugin
 Provides the information to backup comments feedback. More...
 
class  restore_assignfeedback_comments_subplugin
 Restore subplugin class. More...
 

Functions

 assignfeedback_comments_pluginfile ( $course, $cm, context $context, $filearea, $args, $forcedownload, array $options=[])
 Serves assignment comment feedback files. More...
 
 xmldb_assignfeedback_comments_install ()
 Set the initial order for the feedback comments plugin (top) More...
 
 xmldb_assignfeedback_comments_upgrade ($oldversion)
 Stub for upgrade code. More...
 

Variables

 $capabilities
 
 $plugin = 2022041200
 
 $setting
 
const ASSIGNFEEDBACK_COMMENTS_COMPONENT 'assignfeedback_comments'
 
const ASSIGNFEEDBACK_COMMENTS_FILEAREA 'feedback'
 
$plugin component = 'assignfeedback_comments'
 
$plugin version = 2022041900
 

Detailed Description

Function Documentation

◆ assignfeedback_comments_pluginfile()

assignfeedback_comments_pluginfile (   $course,
  $cm,
context  $context,
  $filearea,
  $args,
  $forcedownload,
array  $options = [] 
)

Serves assignment comment feedback 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_comments_install()

xmldb_assignfeedback_comments_install ( )

Set the initial order for the feedback comments plugin (top)

Return values
bool

◆ xmldb_assignfeedback_comments_upgrade()

xmldb_assignfeedback_comments_upgrade (   $oldversion)

Stub for upgrade code.

Parameters
int$oldversion
Return values
bool

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
)

◆ $setting

$setting
Initial value:
= new admin_setting_configcheckbox('assignfeedback_comments/inline',
new lang_string('commentinlinedefault', 'assignfeedback_comments'),
new lang_string('commentinlinedefault_help', 'assignfeedback_comments'), 0)
Checkbox.
Definition: adminlib.php:3022
Definition: moodlelib.php:10546