Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
editor_atto

Files

file  adminlib.php
 Atto admin setting stuff.
 
file  atto.php
 Subplugin info class.
 
file  autosave_cleanup_task.php
 A scheduled task.
 
file  behat_editor_atto.php
 Atto custom steps definitions.
 
file  install.php
 Atto upgrade script.
 
file  lib.php
 YUI text editor integration.
 
file  provider.php
 Privacy Subsystem implementation for editor_atto.
 
file  settings.php
 Atto admin settings.
 
file  upgrade.php
 Atto upgrade script.
 
file  version.php
 Atto text editor integration version file.
 

Namespaces

namespace  editor_atto\plugininfo
  
 
namespace  editor_atto\privacy
  
 
namespace  editor_atto\task
  
 

Classes

class  atto_texteditor
 This is the texteditor implementation. More...
 
class  behat_editor_atto
 
class  editor_atto\plugininfo\atto
 
class  editor_atto\privacy\provider
 Privacy Subsystem implementation for editor_atto. More...
 
class  editor_atto\task\autosave_cleanup_task
 Simple task to run the autosave cleanup task. More...
 
class  editor_atto_subplugins_setting
 Special class for Atto plugins administration. More...
 
class  editor_atto_toolbar_setting
 Admin setting for toolbar. More...
 

Functions

 xmldb_editor_atto_install ()
 Make the Atto the default editor for upgrades from 26. More...
 
 xmldb_editor_atto_upgrade ($oldversion)
 Run all Atto upgrade steps between the current DB version and the current version on disk. More...
 

Variables

 $default = 60
 
 $desc = new lang_string('autosavefrequency_desc', 'editor_atto')
 
if($ADMIN->fulltree) $name = new lang_string('autosavefrequency', 'editor_atto')
 
 $plugin = 2020060900
 
 $setting = new admin_setting_configduration('editor_atto/autosavefrequency', $name, $desc, $default)
 
 $settings = new admin_settingpage('editorsettingsatto', new lang_string('settings', 'editor_atto'))
 
$plugin component = 'editor_atto'
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ xmldb_editor_atto_install()

xmldb_editor_atto_install ( )

Make the Atto the default editor for upgrades from 26.

Return values
bool

◆ xmldb_editor_atto_upgrade()

xmldb_editor_atto_upgrade (   $oldversion)

Run all Atto upgrade steps between the current DB version and the current version on disk.

Parameters
int$oldversionThe old version of atto in the DB.
Return values
bool