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: 95 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

restore_glossary_random_block_task:: (7 methods):
  define_my_settings()
  define_my_steps()
  get_fileareas()
  get_configdata_encoded_attributes()
  after_restore()
  define_decode_contents()
  define_decode_rules()


Class: restore_glossary_random_block_task  - X-Ref

Specialised restore task for the glossary_random block
(using execute_after_tasks for recoding of glossaryid)

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

after_restore()   X-Ref
This function, executed after all the tasks in the plan
have been executed, will perform the recode of the
target glossary for the block. This must be done here
and not in normal execution steps because the glossary
may be restored after the block.


define_decode_contents()   X-Ref
No description

define_decode_rules()   X-Ref
No description