Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
atto_recordrtc

Directories

directory classes
  
 

Namespaces

namespace  atto_recordrtc\privacy
 Privacy Subsystem implementation for atto_recordrtc.
 

Classes

class  atto_recordrtc\privacy\provider
 Privacy Subsystem for atto_recordrtc implementing null_provider. More...
 

Functions

 atto_recordrtc_get_fontawesome_icon_map ()
 Map icons for font-awesome themes.
 
 atto_recordrtc_params_for_js ($elementid, $options, $fpoptions)
 Set params for this plugin.
 
 atto_recordrtc_strings_for_js ()
 Initialise the js strings required for this module.
 
 xmldb_atto_recordrtc_upgrade ($oldversion)
 Upgrade code for the recordrtc atto text editor.
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'atto_recordrtc'
 
const DEFAULT_TIME_LIMIT 120
 Default maximum recording length allowed for the audio/video clips.
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ atto_recordrtc_params_for_js()

atto_recordrtc_params_for_js ( $elementid,
$options,
$fpoptions )

Set params for this plugin.

Parameters
string$elementid
stdClass$options- the options for the editor, including the context.
stdClass$fpoptions- unused.

◆ xmldb_atto_recordrtc_upgrade()

xmldb_atto_recordrtc_upgrade ( $oldversion)

Upgrade code for the recordrtc atto text editor.

Parameters
int$oldversionthe version we are upgrading from.
Return values
bool

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= [
'atto/recordrtc:recordaudio' => [
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'user' => CAP_ALLOW,
],
],
'atto/recordrtc:recordvideo' => [
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => [
'user' => CAP_ALLOW,
],
],
]
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition accesslib.php:130