|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Namespaces | |
| namespace | assignsubmission_file\event |
| | |
| namespace | assignsubmission_file\privacy |
| | |
Classes | |
| class | assign_submission_file |
| Library class for file submission plugin extending submission plugin base class. More... | |
| class | assignsubmission_file\event\assessable_uploaded |
| The assignsubmission_file assessable uploaded event class. More... | |
| class | assignsubmission_file\privacy\provider |
| Privacy class for requesting user data. More... | |
| class | assignsubmission_file_generator |
| class | backup_assignsubmission_file_subplugin |
| Provides the information to backup submission files. More... | |
| class | restore_assignsubmission_file_subplugin |
| Restore subplugin class. More... | |
Functions | |
| assignsubmission_file_pluginfile ($course, $cm, context $context, $filearea, $args, $forcedownload, array $options=array()) | |
| Serves assignment submissions and other files. | |
| xmldb_assignsubmission_file_upgrade ($oldversion) | |
| Stub for upgrade code. | |
Variables | |
| $capabilities | |
| $plugin = 2024041600 | |
| const | ASSIGNSUBMISSION_FILE_FILEAREA 'submission_files' |
| const | ASSIGNSUBMISSION_FILE_MAXSUMMARYFILES 5 |
| $plugin | component = 'assignsubmission_file' |
| $plugin | version = 2024042200 |
| assignsubmission_file_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_file_upgrade | ( | $oldversion | ) |
Stub for upgrade code.
| int | $oldversion |
| bool |
| $capabilities |