Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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