Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
atto_recordrtc

Files

file  access.php
 Atto text editor recordrtc capabilities.
 
file  lib.php
 Atto recordrtc library functions.
 
file  provider.php
 Privacy Subsystem implementation for atto_recordrtc.
 
file  settings.php
 Settings that allow turning on and off recordrtc features.
 
file  version.php
 Atto text editor recordrtc version file.
 

Namespaces

 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. More...
 
 atto_recordrtc_strings_for_js ()
 Initialise the js strings required for this module.
 

Variables

 $capabilities
 
$plugin component = 'atto_recordrtc'
 
$plugin maturity = MATURITY_STABLE
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

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.

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,
],
],
]
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
CONTEXT_MODULE
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130