Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
assignfeedback_comments

Directories

directory backup
  
 
directory classes
  
 

Namespaces

namespace  assignfeedback_comments\privacy
 Privacy class for requesting user data.
 

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
 Capability definitions for this module.
 
 $plugin = 2023100400
 
 $setting
 
const ASSIGNFEEDBACK_COMMENTS_COMPONENT 'assignfeedback_comments'
 
const ASSIGNFEEDBACK_COMMENTS_FILEAREA 'feedback'
 
$plugin component = 'assignfeedback_comments'
 
$plugin version = 2023100900
 

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

Capability definitions for this module.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

◆ $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:3039
The lang_string class.
Definition moodlelib.php:10805