Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
assignsubmission_onlinetext

Namespaces

namespace  assignsubmission_onlinetext\event
  
 
namespace  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\privacy\provider
 Privacy class for requesting user data. More...
 
class  assignsubmission_onlinetext_generator
 
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.
 
 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
 
 $plugin = 2024041600
 
const ASSIGNSUBMISSION_ONLINETEXT_FILEAREA 'submissions_onlinetext'
 
$plugin component = 'assignsubmission_onlinetext'
 
$plugin version = 2024042200
 

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