Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

TinyMCE admin setting stuff.

Copyright: 2012 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 222 lines (8 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 lib/editor/tinymce/lib.php

Defines 2 classes

tiynce_subplugins_settings:: (6 methods):
  __construct()
  get_setting()
  get_defaultsetting()
  write_setting()
  is_related()
  output_html()

editor_tinymce_json_setting_textarea:: (1 method):
  output_html()


Class: tiynce_subplugins_settings  - X-Ref

Special class for TinyMCE subplugin administration.

__construct()   X-Ref
No description

get_setting()   X-Ref
Always returns true, does nothing.

return: true

get_defaultsetting()   X-Ref
Always returns true, does nothing.

return: true

write_setting($data)   X-Ref
Always returns '', does not write anything.

param: string $data
return: string Always returns ''

is_related($query)   X-Ref
Checks if $query is one of the available subplugins.

param: string $query The string to search for
return: bool Returns true if found, false if not

output_html($data, $query='')   X-Ref
Builds the XHTML to display the control.

param: string $data Unused
param: string $query
return: string

Class: editor_tinymce_json_setting_textarea  - X-Ref

output_html($data, $query='')   X-Ref
Returns an XHTML string for the editor

param: string $data
param: string $query
return: string XHTML string for the editor