| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Topics | |
| test | |
| Directories | |
| directory | backup | 
|  | |
| directory | classes | 
|  | |
| Namespaces | |
| namespace | assignsubmission_onlinetext\event | 
| The assignsubmission_onlinetext assessable uploaded event. | |
| namespace | assignsubmission_onlinetext\privacy | 
| Privacy class for requesting user data. | |
| Classes | |
| class | assign_submission_onlinetext | 
| library class for onlinetext submission plugin extending submission plugin base class  More... | |
| class | assignsubmission_onlinetext\event\assessable_uploaded | 
| The assignsubmission_onlinetext assessable uploaded event class.  More... | |
| 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 | 
| This file contains the class for restore of this submission plugin.  More... | |
| Functions | |
| assignsubmission_onlinetext_pluginfile ($course, $cm, context $context, $filearea, $args, $forcedownload, array $options=array()) | |
| Serves assignment submissions and other files. | |
| xmldb_assignsubmission_onlinetext_install () | |
| Code run after the assignsubmission_onlinetext module database tables have been created. | |
| xmldb_assignsubmission_onlinetext_upgrade ($oldversion) | |
| Stub for upgrade code. | |
| Variables | |
| $capabilities | |
| Capability definitions for this module. | |
| $plugin = 2023100400 | |
| const | ASSIGNSUBMISSION_ONLINETEXT_FILEAREA 'submissions_onlinetext' | 
| $plugin | component = 'assignsubmission_onlinetext' | 
| $plugin | version = 2023100900 | 
| assignsubmission_onlinetext_pluginfile | ( | $course, | |
| $cm, | |||
| context | $context, | ||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| array | $options = array() ) | 
Serves assignment submissions and other files.
| mixed | $course | course or id of the course | 
| mixed | $cm | course module or id of the course module | 
| context | $context | |
| string | $filearea | |
| array | $args | |
| bool | $forcedownload | |
| array | $options | - List of options affecting file serving. | 
| bool | false if file not found, does not return if found - just send the file | 
| 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)
| bool | 
| xmldb_assignsubmission_onlinetext_upgrade | ( | $oldversion | ) | 
Stub for upgrade code.
| int | $oldversion | 
| bool | 
| $capabilities | 
Capability definitions for this module.