Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
atto_recordrtc

Namespaces

namespace  atto_recordrtc\privacy
  
 

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 = 2024041600
 
$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 = 2024042200
 

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