Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 
 xmldb_assignfeedback_comments_install ()
 Set the initial order for the feedback comments plugin (top)
 
 xmldb_assignfeedback_comments_upgrade ($oldversion)
 Stub for upgrade code.
 

Variables

 $capabilities
 
 $plugin = 2023041800
 
 $setting
 
const ASSIGNFEEDBACK_COMMENTS_COMPONENT 'assignfeedback_comments'
 
const ASSIGNFEEDBACK_COMMENTS_FILEAREA 'feedback'
 
$plugin component = 'assignfeedback_comments'
 
$plugin version = 2023042400
 

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:3038
The lang_string class.
Definition moodlelib.php:10700