Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
assignsubmission_onlinetext

Files

file  access.php
 Capability definitions for this module.
 
file  assessable_uploaded.php
 The assignsubmission_onlinetext assessable uploaded event.
 
file  backup_assignsubmission_onlinetext_subplugin.class.php
 This file contains the class for backup of this submission plugin.
 
file  install.php
 Post-install code for the submission_onlinetext module.
 
file  lib.php
 This file contains the moodle hooks for the submission onlinetext plugin.
 
file  locallib.php
 This file contains the definition for the library class for onlinetext submission plugin.
 
file  provider.php
 Privacy class for requesting user data.
 
file  restore_assignsubmission_onlinetext_subplugin.class.php
 This file contains the class for restore of this submission plugin.
 
file  settings.php
 This file defines the admin settings for this plugin.
 
file  submission_created.php
 The assignsubmission_onlinetext submission_created event.
 
file  submission_updated.php
 The assignsubmission_onlinetext submission_updated event.
 
file  upgrade.php
 Upgrade code for install.
 
file  version.php
 This file contains the version information for the onlinetext submission plugin.
 

Namespaces

 assignsubmission_onlinetext\event
  
 
 assignsubmission_onlinetext\privacy
  
 

Classes

class  assign_submission_onlinetext
 library class for onlinetext submission plugin extending submission plugin base class More...
 
class  assignsubmission_onlinetext\event\assessable_uploaded
 
class  assignsubmission_onlinetext\event\submission_created
 
class  assignsubmission_onlinetext\event\submission_updated
 
class  assignsubmission_onlinetext\privacy\provider
 Privacy class for requesting user data. More...
 
class  backup_assignsubmission_onlinetext_subplugin
 Provides the information to backup onlinetext submissions. More...
 
class  restore_assignsubmission_onlinetext_subplugin
 Restore subplugin class. More...
 

Functions

 assignsubmission_onlinetext_pluginfile ($course, $cm, context $context, $filearea, $args, $forcedownload, array $options=array())
 Serves assignment submissions and other files. More...
 
 xmldb_assignsubmission_onlinetext_install ()
 Code run after the assignsubmission_onlinetext module database tables have been created. More...
 
 xmldb_assignsubmission_onlinetext_upgrade ($oldversion)
 Stub for upgrade code. More...
 

Variables

 $capabilities
 
const ASSIGNSUBMISSION_ONLINETEXT_FILEAREA 'submissions_onlinetext'
 
$plugin component = 'assignsubmission_onlinetext'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ assignsubmission_onlinetext_pluginfile()

assignsubmission_onlinetext_pluginfile (   $course,
  $cm,
context  $context,
  $filearea,
  $args,
  $forcedownload,
array  $options = array() 
)

Serves assignment submissions 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_assignsubmission_onlinetext_install()

xmldb_assignsubmission_onlinetext_install ( )

Code run after the assignsubmission_onlinetext module database tables have been created.

Moves the plugin to the top of the list (of 3)

Return values
bool

◆ xmldb_assignsubmission_onlinetext_upgrade()

xmldb_assignsubmission_onlinetext_upgrade (   $oldversion)

Stub for upgrade code.

Parameters
int$oldversion
Return values
bool

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
)