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.

(no description)

Copyright: 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 93 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

restore_html_block_task:: (6 methods):
  define_my_settings()
  define_my_steps()
  get_fileareas()
  get_configdata_encoded_attributes()
  define_decode_contents()
  define_decode_rules()

restore_html_block_decode_content:: (3 methods):
  get_iterator()
  preprocess_field()
  postprocess_field()


Class: restore_html_block_task  - X-Ref

Specialised restore task for the html block
(requires encode_content_links in some configdata attrs)

TODO: Finish phpdocs
define_my_settings()   X-Ref
No description

define_my_steps()   X-Ref
No description

get_fileareas()   X-Ref
No description

get_configdata_encoded_attributes()   X-Ref
No description

define_decode_contents()   X-Ref
No description

define_decode_rules()   X-Ref
No description

Class: restore_html_block_decode_content  - X-Ref

Specialised restore_decode_content provider that unserializes the configdata
field, to serve the configdata->text content to the restore_decode_processor
packaging it back to its serialized form after process

get_iterator()   X-Ref
No description

preprocess_field($field)   X-Ref
No description

postprocess_field($field)   X-Ref
No description