Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is 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