Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
assignfeedback_comments

Files

file  access.php
 Capability definitions for this module.
 
file  backup_assignfeedback_comments_subplugin.class.php
 This file contains the class for backup of this feedback plugin.
 
file  install.php
 Post-install code for the feedback_comments module.
 
file  lib.php
 This file contains the moodle hooks for the comments feedback plugin.
 
file  locallib.php
 This file contains the definition for the library class for comment feedback plugin.
 
file  provider.php
 Privacy class for requesting user data.
 
file  restore_assignfeedback_comments_subplugin.class.php
 Restore subplugin class.
 
file  settings.php
 This file defines the admin settings for this plugin.
 
file  upgrade.php
 Upgrade code for the feedback_comments module.
 
file  version.php
 This file contains the version information for the comments feedback plugin.
 

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 = 2020060900
 
 $setting
 
const ASSIGNFEEDBACK_COMMENTS_COMPONENT 'assignfeedback_comments'
 
const ASSIGNFEEDBACK_COMMENTS_FILEAREA 'feedback'
 
$plugin component = 'assignfeedback_comments'
 
$plugin version = 2020061500
 

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:2924
Definition: moodlelib.php:10467